ok i'm doing a simple assignment and i've just started learning C++, but I still am missing some basic knowledge of the program and my teacher is, well, not a very good teacher (he doesn't even teach us with computers, he makes us take notes)
I have to convert a measurement from feet and inches into cm and pi units. This is how it says:
---------------
The latter have pi inches per unit of measurement. Read the English units using two input statements and convert them. Then output the inputted values and the results with labels. The conversion factors are to be declared as constants. You should try at least three sets of inputs that test a variety of conditions.
THe output should have this form:
Input: XX feet and XX inches
Converts to: YY.YY centimeters
ZZ.ZZ pi units
-------------
now what is the deal with inputting and outputting? Is input what you enter into the program and output what the program responds to the input? Can someone help me get started?
2007-09-16
06:47:51
·
6 answers
·
asked by
Sub Poofy
5
in
Computers & Internet
➔ Programming & Design
I know it's simple math, but I have to put it in C++ and I don't really know how to use it. I don't know about this input and output stuff.
2007-09-16
06:51:56 ·
update #1