Question: Lab 1 - Name your program lab 1 . c - Use - > #define PI 3 . 1 4 1 5 9 - Scan

Lab1
- Name your program lab1.c
- Use -> #define PI 3.14159
- Scan in from the user the: inner diameter, outer diameter, and thickness in centimeters.
- Take the input as doubles you do not have to write cm at the end of your input.
- Scan in from the user the: material density (grams/cm 3
) and quantity manufactured
- Compute the rim area
- Compute the weight of a flat washer
- Compute the weight of the batch of washers
- Display the rim area
- Display the weight of a single flat washer
- Display the weight of the batch of washers

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 Programming Questions!