Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
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: 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started