Challenge for Type Conversion and Casting
Challenge
A rocket ship traveled for Y years at M miles per hour. How many miles did the rocket ship travel? Please print the answer.
You will be given two numbers as input, Y and M (as a
and b
respectively).
Note:
There are 365 days in every year and 24 hours in every day.
Y can be from 0 to 1000.
M can be from 0 to 670 million.
(You do not need to worry about relativity in this problem!)
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.