Draw a flowchart for a program that: (a) Prompts the user to enter from the keyboard the size, the quantity and service
Posted: Thu Jul 14, 2022 2:19 pm
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.