HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Ad-Hoc > problem:


50351 - Convert inches to cm

Guest
• Discussion of problem (1)

Section problems

• 50493 - n-digit kth Prime Number
• 50520 - Filling a Matrix Randomly
• 50357 - Convert Euros into Dollars
• 50355 - Bills of City Water Company
• 50454 - What day is it?
• 50350 - Fahrenheit to Celsius
• 50356 - Hours Passed
• 50466 - Drawing Square From Stars
• 50351 - Convert inches to cm
• 50467 - Random Numbers
• 50474 - Sum of Two Primes
• 50371 - Modified Karnaugh-Map
• 50580 - Days passed
• 50591 - Leap year
• 50597 - Drawing Diamonds

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.
Question by Ibrahim Mesecan. Difficulty Alpha

Convert inces to cm

Write a program that convert inches to centimeters. One inch equals 2.54 centimeters.

Input specification
You will be given the a floating point number (inch) where 0 ≤ inch ≤ 50000

Output specification
Show the centimeter equavalent of the given number.

Sample Input I
  4
Sample Input II
  5.2
Sample Output I
  10.16
Sample Output II
  13.208


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

www.contester.ru