Use the modulus arithmetic symbol for part of the calculation/conversion.
Set up multiple functions to solve the problem.
Have the user input number of seconds.
Program should convert number of seconds to minutes and remaining seconds.
Conversion function for converting seconds to minutes.
Main function for user input and to pass argument into Conversion Function.
Output = Show number of seconds input, conversion to minutes, and remaining seconds.
この質問の投稿者はすでに退会しているため、質問者からの返信やベストアンサーの選定がない点にご留意ください。
あなたの回答
tips
プレビュー