HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginner > problem:


50226 - Convert Celsius to Fahrenheit

Volume problems

• 50217 - Exchange the Values
• 50218 - Say Hello
• 50219 - Win or Lose
• 50220 - Area and Perimeter Of The ...
• 50221 - Calculate the Average
• 50222 - Even or Odd
• 50223 - Average of Test Scores
• 50225 - Convert to Minutes and Sec...
• 50226 - Convert Celsius to Fahr...
• 50227 - Smallest Number
• 50228 - Even Numbers
• 50229 - Print All Numbers
• 50230 - ASCII Codes
• 50231 - Hours Minutes and Seconds
• 50236 - Put the Numbers in Descend...
• 50238 - Translate Score into Grade
• 50239 - Basic Math Calculator

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Convert Celsius to Fahrenheit

Write a program that converts Celsius temperatures to Fahrenheit temperatures.

The formula is    F = 9 /5*C +32 

Note: F is the Fahrenheit temperature, and C is the Celsius temperature.  

Input: In the first line you will get an integer number as an indicator of Celsius temperature.

Output: Temperature degree in Fahrenheit.

Sample Input1:

Sample Input2:

Sample Input3:

30

23

0

Sample Output1:

Sample Output2:

Sample Output3:

86

73.4

32

 

Для отправки решений необходимо выполнить вход.

www.contester.ru