Problems
373 - Speed (km/h)
SUBMIT PROBLEM

Speed (km/h)

Time Limit: 0.5 sec

 

The Problem

A man runs on tracks of different lengths each day. He always times the last lap. Use the time for the last lap (in seconds) and the length of the track (in kilometer) to calculate his speed in kilometer per hour.

 

The Input

The first line contains a positive integer T ( 1<=T<=100), denoting the number of test case. The next T lines will contain two integers S(1<=S<=1000000) time in seconds and L(1<=L<=1000000) lenght in kilometer.

 

The Output

For each case, print "Case X: Y km/h" here X denodted the case number and Y denoted the speed in kilometer per hour rounded to 2 decimal points in seperate line.

 

Sample Input

2

600 2 

120 1

 

Sample Output

Case 1: 12.00 km/h

Case 2: 30.00 km/h

 

 

 

Problem Setter: Shahin ShamS