|
Thread: C
-
Dec 15th, 2000, 09:09 AM
#1
Thread Starter
New Member
Can anyone help I have a program to write
I need to write a pgm that converts a series of input temperatures in either degree Celsius or Fahrenheit and calculate the absolute temperature in degrees Kelvin.
So if the input was 32F the result would be 273K.Repeat this process for any number of input temperatures and scales.
The pgm should finish with the following message "Error - Negative Absolute Value do not assume the input will only be 'C' OR 'F'.
The required formulae are
K = C + 273 or K = (F-32) / 1.8 + 273
Can anyone help! I'me slowly going insane......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|