Program for metric conversions, C/C++ Programming

Write a program called Converter that does three types of metric conversions. Your program should prompt the user for the selection conversion, prompt for input data, and display the result of the conversion. Sample output is shown on the next page.

HINTS:

1.  Use the double data type to handle fractions.

2.  Wrap everything in a while loop which repeats until the user selects 0.

3.  You'll need to research to find the correct conversion factors.

 

Posted Date: 3/19/2013 5:18:51 AM | Location : United States







Related Discussions:- Program for metric conversions, Assignment Help, Ask Question on Program for metric conversions, Get Answer, Expert's Help, Program for metric conversions Discussions

Write discussion on Program for metric conversions
Your posts are moderated
Related Questions
WHAT IS CGI?

We are now quite happy to use the basic mathematical expressions, however in engineering we use scientific functions i.e Sin , Cos  , ln etc . Within C we have the following functi

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve betw

No. it's not required The C++ language guarantees that delete p will do nothing if p is equivalent to NULL. As you might get the test backwards, and as most testing methodologie

Describe what is actual arguments? - When certain functions are created and used to perform an action on some provided values, some values are required to be passed to them. Th

Four cells, each with an internal resistance of 0.40 ? and an e.m.f. of 2.5 V are connected in series to a load of 38.40 ?. (a) Verify the current flowing in the circuit and t

project on business management

Draw a circle in c program: void main() { clrscr(); int i,r=50,t,j,x,y; int gd,gm; gd =DETECT; initgraph(&gd,&gm,""); for(x=50;x for(y=50;y {   i

pseudo code that will determine if the number is prime or composite

Syntax rules for writing a destructor function Its name is the similar as that of the class to which it belongs, except that the first character of the name is the symbol t