- University Of Bahrain College Of Information Technology Department Of Computer Science Itcs113 Assignment 3 A Print Sho 1 (93.75 KiB) Viewed 91 times
University of Bahrain College of Information Technology Department of Computer Science ITCS113 Assignment #3 A Print Sho
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
University of Bahrain College of Information Technology Department of Computer Science ITCS113 Assignment #3 A Print Sho
University of Bahrain College of Information Technology Department of Computer Science ITCS113 Assignment #3 A Print Shop published a list of printing prices that are typically based on the number of copies to be printed. Here is the list: Number of copies Unit price (BD) 1-30 0.050 31-60 0.035 More than 60 0.025 Write a program that reads the number of copies each customer needs to make and displays the total price the customer must pay for his copies. Keep asking the customers for the wanted number of copies until the user enters (-1). At the end, display how many customers came to the print shop and the total revenue of the shop (the money paid by all customers). A sample input/output of the program is given below: Enter the number of copies to be printed: 155 Total Price is BD 3.875 Enter the number of copies to be printed: 50 Total Price is BD 1.75 Enter the number of copies to be printed: -1 Number of customers: 2 Total revenue: 5.625