Question: write a C program You work for a retailer. Write a C program that asks the user to enter the following information for 10 items:
You work for a retailer. Write a C program that asks the user to enter the following information for 10 items: item description, item quantity and item price. Note: the item description must not exceed 29 characters. The program should find the item with the highest price. Print out the item with the highest price description, quantity and price. Then print out the 10 items description, quantity, and price. Use a for-loop to get the item description, item quantity and item price for 10 items. Use a for-loop and an ifelse statement to find the highest price item. Use a for-loop to print out the 10 items description, quantity, and price. Use a constant to define the maximum size of 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
