HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


10-P5. 50905 - Convert KPH to MPH

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (4)

Contest problems

• 10-2. 50963 - Append Two Arrays
• 10-3. 50964 - Increasing or Decreasing
• 10-4. 50965 - Draw the Pattern
• 10-5. 50966 - TVSH
• 10-P1. 50901 - Sum of Cubes-1
• 10-P2. 50902 - Translate Score into...
• 10-P3. 50903 - Basic Math Calculator
• 10-P4. 50904 - Print All Prime Numbers
• 10-P5. 50905 - Convert KPH to MPH
• 11-1. 50967 - Finding Square Roots
• 11-2. 50968 - Number of Letters
• 11-3. 50969 - Chef and Feedback
• 11-4. 50970 - Marbles
• 11-5. 50971 - Belote Game
• 11-P1. 50906 - The Smallest Pair
• 11-P2. 50907 - Second Largest
• 11-P3. 50908 - Buy 1 Get 1

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 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