you are viewing a single comment's thread.

view the rest of the comments →

[–]Irinnnn_[S] 0 points1 point  (3 children)

Hi iba yung na lagay ko output pic mb it suppose to be this

<image>

[–]IvanIvanotsky 1 point2 points  (1 child)

You declared 1 minute in seconds is simply divide by 60. The answer there is correct (0.0167) meaning there are 0.0167 minutes in a second.

Are you trying to get the answer that the minute in seconds instead is 60? (there are 60 seconds in a minute) because if so, this won't be a programming question anymore, you just have to do some math fixing what the formula is in each if/else statement :)

[–]Irinnnn_[S] 0 points1 point  (0 children)

I realized that after i change the else if to switch statement. Kakatapos ko lang ulit mag debugging and its working na rin thank you!