language program which should display 4 items (keyboard, mouse, monitor and speaker) with their product  numbers (1111, 1112, 1113 and 1114) an

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

Write a c language program which should display 4 items (keyboard, mouse, monitor and speaker) with their product 
numbers (1111, 1112, 1113 and 1114) and Rate/Unit (3,000, 2,000, 30,000, 10,000) respectively. Customer 
will enter the product code and quantity to be purchased. Customer can select one product at a time. Your 
program will display the Product Number, Product Name, Rate, Quantity Purchased and Total cost 
(Quantity x Rate) on the screen. If Total cost is greater than Rs. 5,000/= then a discount of 10% will be 
given to the customer. Display discounted figure on the screen and then print the amount payable (cost￾discount) on the screen.

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning