Author |
Message |
thomasb
|
Posted: Mon Jan 24, 2011 1:52 pm Post subject: Can you make this program? |
|
|
There are 2.54 cm in one inch. Write a program to input the length of a desk in inches and output its length in centimetres. Use a constant for the conversion factor. Be sure to prompt for the input and to label the output. The program should use a sentinel value of "-1" to exit. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
ProgrammingFun
|
Posted: Mon Jan 24, 2011 2:15 pm Post subject: RE:Can you make this program? |
|
|
We do not make programs for you...we can assist you in any concept you might need help with....
This is a simple program.
- Use a variable to store the input.
- Apply conversions.
- Display variable.
If variable is -1, exit program... |
|
|
|
|
|
Tony
|
Posted: Mon Jan 24, 2011 2:25 pm Post subject: RE:Can you make this program? |
|
|
This is exactly why we have the template for new Turing Help threads.... |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
thomasb
|
Posted: Mon Jan 24, 2011 2:59 pm Post subject: RE:Can you make this program? |
|
|
ok thanks |
|
|
|
|
|
|