Tuesday
June 18, 2013

Homework Help: Engineering C source code

Posted by Z32 on Wednesday, September 16, 2009 at 1:07am.

Prompt the user for the inner and outer diameter and thickness of the washer to be entered in cm. Then prompt for the material density in grams per cubic cm (g/cm^3) and the number of washers in the batch. Finally, print out the expected weight in kg. Make sure that 3 digits after the decimal are always displayed for your results.

When executed, it should say:
Welcome to the Washer Weight Batch Program.
Please enter the following washer information.

Inner diameter in cm: 1.2
Outer diameter in cm: 2.4
Thickness in cm: 0.1
Material density in g/cm^3: 7.87
Quantity in batch: 1000

The expected weight of the washer batch is 2.670 kg.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

programming MIPS ask - Write a MIPS assembly language program that will cover ...
C++ program - Create a source code that will prompt for recive and total a ...
C++ program - Create a source code that will prompt for recive and total a ...
AP U.S. History(APUSH) - I need help with understanding this APUSH DBQ prompt! ...
Physics - When standing erect a person's weight is supported chiefly by the ...
math - A hollow steel tube, 4 m long, has walls 5 mm thick and is open at each ...
java - Write a java application that finds the smallest of several integers. ...
Java - Write a GUI application that prompts the user for a number between 1 and ...
programming - develop a program that converts inches to centimeters(1 inch=2.54 ...
maths - the thickness of a metallic tube is 1 cm and the inner diameter of tube ...

For Further Reading

Search
Members
Community