Question: OOLSVIEW 215710514 (ratected View) Wo CTED VIEW Beca 1. Write a program that reads in the radius and length of a cylinder and computes the

 OOLSVIEW 215710514 (ratected View) Wo CTED VIEW Beca 1. Write a
program that reads in the radius and length of a cylinder and

OOLSVIEW 215710514 (ratected View) Wo CTED VIEW Beca 1. Write a program that reads in the radius and length of a cylinder and computes the area and volume using the following formulas area pi radius volume area length your program should have length as integer variable radius as double variable pi as Named Constant It prints the output with maximum 2 decimal digits. If area is greater than 20, it checks if the area is odd or not and prints it Here is a sample nun: Enter the radius and length of a cylinder: 5.5 12 The area is 95.0331 The volume is 1140.4 OAsk me aything hew)-Word (Product Activation Failed lernet can contain vinuses. Unless you need to edit it's saler to stay in Protected View. Enable Editing 2. Write a program that generates invoice for a restaurant, user is displayed following menu- ID Decription Kabsa Laham Mandi Rate 13.5 49 17.5 Marphut If user presses, k, it takes care of case of pressed key and displays following message Here is sample run: Your bill for Kabsa is KABSA13 VAT (5%) - 0.675 Total- 14.17 SAR

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!