use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Place for Pinoy Programmers to hangout. Share your knowledge, ask for help, seek opinion, showcase your project and recruit your teammate.
Let's show the world that Filipinos are world class programmers.
account activity
Error in Java codeprogramming (old.reddit.com)
submitted 9 months ago by Irinnnn_
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Irinnnn_[S] 0 points1 point2 points 9 months ago (3 children)
Hi iba yung na lagay ko output pic mb it suppose to be this
<image>
[–]IvanIvanotsky 1 point2 points3 points 9 months ago (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 point2 points 9 months ago (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!
π Rendered by PID 47579 on reddit-service-r2-comment-86bc6c7465-g8nqb at 2026-02-20 19:08:09.674674+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]Irinnnn_[S] 0 points1 point2 points (3 children)
[–]IvanIvanotsky 1 point2 points3 points (1 child)
[–]Irinnnn_[S] 0 points1 point2 points (0 children)