Write a C program which uses a switch statement to input an item type (E, P, H,N or O) followed by the amount of the purchase. Apply the discount as mentioned above anddetermine the final cost of the item. If an incorrect item type is entered, then output“INVALID ITEM TYPE. In this case, do not print any final cost:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here