Draw a flowchart for a program that: (a) Prompts the user to enter from the keyboard the size, the quantity and service
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Draw a flowchart for a program that: (a) Prompts the user to enter from the keyboard the size, the quantity and service
Draw a flowchart for a program that: (a) Prompts the user to enter from the keyboard the size, the quantity and service charge of a pizza. (b) Displays an error message and exits the program if the size of the pizza is less than 6 inches. (c) Calculates the Total Price as shown in the table below: (d) Displays the value of Net Price = Total Price + Service charge. Example: If the size of the pizza is 7 inches, the quantity is 5 and service charge is BD. 0.850, then the Total Price is 2.5×5=12.5 and the Net Price is 12.5+0.95=13.35.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!