Minutes to Seconds

MATH

Problem

Given an integer minutes, return an integer representing the number of seconds.

Examples:

minutesToSeconds(1) // 60 // 1 minute is equal to 60 seconds, so the result is 60. minutesToSeconds(3) // 180 minutesToSeconds(5) // 300
Loading...