Question: c++ QUESTION 4 Table Q4 shows input, process and output of a program that a university student wants to create for secondary school students. An

c++
c++ QUESTION 4 Table Q4 shows input, process and output of a
program that a university student wants to create for secondary school students.

QUESTION 4 Table Q4 shows input, process and output of a program that a university student wants to create for secondary school students. An example of the output is illustrated in Figure Q4. Note: the bold word is the input given by user. The program should be able to repeat until the user choose to end or exit. a) Using modular programming technique, write a Ch program to produce output as Figure Q4 [17 marks) b) Sketch a flowchart for the software package. [8 marks] Table 04 Input Process Output Length cube_volume - length Cube Length, Radius cylinder_volume-radius.length cylinder Radius Sphere_volume radius Sphere Display "Thank you CONSOLE OUTPUT X Volume Calculator 1 - Cube 2 - Cylinder 3 - Sphere 4 - Quit Insert your option>> 1 Insert the length: 2 The volume of the cube is 8 Volume Calculator 1 - Cube 2 - Cylinder 3 Sphere Quit Insert your option>> 2 Insert the length: 2 Insert the radius: 3 The volume of the cylinder is 56.556 Volume Calculator 1 - Cube 2 - Cylinder 3 - sphere 4 - Quit Insert your option>> 3 Insert the radius: 3 The volume of the sphere is 84.834 Volume Calculator 1- Cube 2 - cylinder 3 - Sphere 4 - Quit Insert your option>> 4 Thank you Figure 04

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!