ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Unsorted > задача:


50905 - Convert KPH to MPH

Гость
• Вопросы к жюри (4)

Задачи раздела

• 50961 - Order of 3 Runner
• 50963 - Append Two Arrays
• 50893 - Print All Numbers
• 50968 - Number of Letters
• 50888 - Extracting Digits
• 50969 - Chef and Feedback
• 50962 - Find the Character
• 50974 - Area of the circle
• 50905 - Convert KPH to MPH
• 50967 - Finding Square Roots
• 50960 - Number of Heart Beats
• 50953 - ASCII Codes - Reverse
• 50885 - Calculate the Average
• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

Convert KPH to MPH

Your friend Amanda just inherited a European sports car from her uncle. Amanda lives in the United States, and she is afraid she will get a speeding ticket because the car’s speedometer indicates kilometers per hour.

She has asked you to write a program that displays speed in kilometers per hour with its value converted to miles per hour.

The formula for converting kilometers per hour to miles per hour is   MPH = KPH * 0.6214.  

In the formula, MPH is the speed in miles per hour and KPH is the speed in kilometers per hour. 

The table should look something like this: 

KPH       MPH
70          43.5

Note: Use \t to separate values in KPH and MPH. MPH values must be rounded up to one decimal number.

Input: A positive number as an indicator of KPH.

Output: The list of all values.

Sample Input1:

Sample Input2:

60

130

Sample  Output1:

Sample  Output2:

KPH       MPH

60          37.3

KPH     MPH

130       80.8

 

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

www.contester.ru