Skip to content
New issue

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

Entry Challenge V3 #3

Open
Devabubakar opened this issue Feb 15, 2022 · 2 comments
Open

Entry Challenge V3 #3

Devabubakar opened this issue Feb 15, 2022 · 2 comments

Comments

@Devabubakar
Copy link
Collaborator

Devabubakar commented Feb 15, 2022

Entry Challenge V3

Write a function ( myFunction (){} ) that takes an integer minutes and converts it to seconds.

Examples

convert(5) ➞ 300

convert(3) ➞ 180

convert(2) ➞ 120

Note

  • Don't forget to return the result.
@mburu-design
Copy link

mburu-design commented Mar 7, 2022

int myFunction(int minutes){
int seconds ;
seconds=minutes*60;
return seconds
}

@CECILIA-MULANDI
Copy link

def myFunction(minutes):
return minutes*60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants