Display a brief description of the program and ask the user


Write a C++ program according to the following specifications

1. Display a brief description of the program.

2. Ask the user to specify the type of loading (end load, intermediate load, uniform load)

3. Ask the user to specify the type of material (give the user of menu of 7 material types listed above) and then use the given value of E.

4. Ask the user for the beam dimensions (L, B, b, H, and h). Use a function to find the moment of inertia.

5. If an end load or intermediate load is chosen, prompt the user to enter the weight of the load.

6. If a uniform load is selected, prompt the user to enter the weight density.

7. If an intermediate load is chosen, prom pt the user to enter the value of 'a' (the location of the load).

8. Create 3 functions to calculate ? for the three types of loading.

9. Prompt the user to specify the number of points, N (in addition to x = 0) to use in a table of x and ? values.

10. Clear the screen and display the following:

- A brief description of the program.

- The type of loading and type of material.

- All input quantities (both variable and name) with units. Also display I.

- Display a table of values of x and ? with an appropriate table heading (with units) and with all values nicely aligned. Other important notes:

- User prompts should include both symbol and name of variable and unit.

- Use scientific notation with 4 significant digits for most results.

- Check all inputs for errors. If any inputs are entered incorrectly, allow the user to correct them.

The analysis of beams is an important topic in mechanical engineering. One type of beam considered is a cantilever beam in which one end of the beam is fixed and the other end of the beam is free.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Display a brief description of the program and ask the user
Reference No:- TGS0945993

Expected delivery within 24 Hours