We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write a function ( myFunction (){} ) that takes an integer minutes and converts it to seconds.
minutes
convert(5) ➞ 300 convert(3) ➞ 180 convert(2) ➞ 120
return
The text was updated successfully, but these errors were encountered:
int myFunction(int minutes){ int seconds ; seconds=minutes*60; return seconds }
Sorry, something went wrong.
def myFunction(minutes): return minutes*60
No branches or pull requests
Entry Challenge V3
Write a function ( myFunction (){} ) that takes an integer
minutes
and converts it to seconds.Examples
Note
return
the result.The text was updated successfully, but these errors were encountered: