celsius to fahrenheit conversion
Can someone show me the code on how to print the numbers for a temperature conversion across the screen? Here is an example:
Fahr Cels | Fahr Cels | Fahr Cels
32 0 | 33 val | 34 val
35 val | 36 val | 37 val
This program will start at 32 degrees and go up to 212 degrees in one degree increments. I have never taken a programming class and this is something that has kinda fallen into my lap and needless to say, I do not know anything about programming at all. I am trying to help my son with a program and I wanted to see if someone may be able to help me on this one. If I am not mistaken I believe he will have to have 8 columns and 20 rows on each screen because I do not think that all of this will fit onto one screen. The user will not input anything at all. My son showed me what was called the executable program and it looks like the screen will have about 20 rows of data and then you press enter and a new screen comes up with more info and at the very end, the user is asked if they would like to see the information again (Y/N?) I am very appreciative of anyone who can help me out on this problem.
Thanks,
Tracie
Email: [email protected]
reply on fahrenheit to celsius program
I would like to thank everyone for their help, it has been tremendous. I think I may have misinterpreted the information from my son on his project. The results do not have to all show up on one screen. For example, if we start at 32 degrees with the celsius conversion, then I think the screen will go to about 66 or 67 degrees. Then, you are suppose to hit enter and another screen will display starting at 68 degrees and then once that screen is full, press enter once again and another screen is displayed until 212 degrees is displayed and then the user is prompted at the bottom of the screen if they would like to see the results again and the user can either select (Y/ N).
Thanks again for everyones help.
Tracie
[email protected]
fahrenheit to celsius conversion
Again, I apologize if I did not do that good of a job explaining this project. I found out how to copy and paste so this is what the file that is called the executable is suppose to look like: The instructor did not do a very good job of spelling the information.
Conversion from Farenhite to Celecus
Screen # 1
| 0.00= 32.00 | 0.56= 33.00 | 1.11= 34.00 | 1.67= 35.00 | 2.22= 36.00 |
| 2.78= 37.00 | 3.33= 38.00 | 3.89= 39.00 | 4.44= 40.00 | 5.00= 41.00 |
| 5.56= 42.00 | 6.11= 43.00 | 6.67= 44.00 | 7.22= 45.00 | 7.78= 46.00 |
| 8.33= 47.00 | 8.89= 48.00 | 9.44= 49.00 | 10.00= 50.00 | 10.56= 51.00 |
| 11.11= 52.00 | 11.67= 53.00 | 12.22= 54.00 | 12.78= 55.00 | 13.33= 56.00 |
| 13.89= 57.00 | 14.44= 58.00 | 15.00= 59.00 | 15.56= 60.00 | 16.11= 61.00 |
| 16.67= 62.00 | 17.22= 63.00 | 17.78= 64.00 | 18.33= 65.00 | 18.89= 66.00 |
| 19.44= 67.00 | 20.00= 68.00 | 20.56= 69.00 | 21.11= 70.00 | 21.67= 71.00 |
| 22.22= 72.00 | 22.78= 73.00 | 23.33= 74.00 | 23.89= 75.00 | 24.44= 76.00 |
| 25.00= 77.00 | 25.56= 78.00 | 26.11= 79.00 | 26.67= 80.00 | 27.22= 81.00 |
|----> Press a key to continue list...!
The next screen would be screen 2 and the conversions, the next screen after that would be screen 3, the final screen would look like this and this is screen 4:
Conversion from Farenhite to Celecus
Screen # 4
| 83.33=182.00 | 83.89=183.00 | 84.44=184.00 | 85.00=185.00 | 85.56=186.00 |
| 86.11=187.00 | 86.67=188.00 | 87.22=189.00 | 87.78=190.00 | 88.33=191.00 |
| 88.89=192.00 | 89.44=193.00 | 90.00=194.00 | 90.56=195.00 | 91.11=196.00 |
| 91.67=197.00 | 92.22=198.00 | 92.78=199.00 | 93.33=200.00 | 93.89=201.00 |
| 94.44=202.00 | 95.00=203.00 | 95.56=204.00 | 96.11=205.00 | 96.67=206.00 |
| 97.22=207.00 | 97.78=208.00 | 98.33=209.00 | 98.89=210.00 | 99.44=211.00 |
|100.00=212.00 |
Again.....(Y/N).?
Could someone please explain how to you go from screen 1 to 2 to 3 to 4? Again, I apologize for not explaining the information that well.
Thanks,
Tracie
[email protected]