HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


020. 50351 - Convert inches to cm

Guest
• Discussion of problem (1)

Volume problems

• 001. 51153 - A+B.
• 002. 50348 - Area and Perimeter of ...
• 003. 50349 - Area of a Triangle
• 004. 50350 - Fahrenheit to Celsius
• 005. 50797 - Nr of Missing Guests
• 007. 50280 - Division
• 010. 50357 - Convert Euros into Dol...
• 015. 50356 - Hours Passed
• 020. 50351 - Convert inches to cm
• 025. 50294 - Centimeters to Yards
• 028. 50521 - Pound to Grams
• 030. 50341 - Separate Into Digits
• 034. 50502 - Welcome Andi - 1
• 040. 50879 - Passed or Failed
• 040. Problem 1
• 042. 50798 - Passing the course
• 045. 50391 - Cinema Tickets

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