Answer to Question #197385 in C++ for Aniqa

Question #197385

Write a function that takes an integer minutes and converts it to seconds.

Examples

convert(5) âžž 300

convert(3) âžž 180

convert(2) âžž 120



1
Expert's answer
2021-05-23T08:50:07-0400
int convert(int min)
{
  return min*60;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog