+ 3
I'm having trouble with my code rn. I'm new in java. The input is 9 but it has errors. Can u guys help me with this?
4 Answers
+ 8
â you didn't declared variable like TotalSecondsFromHours/Minutes, TotalSeconds by specifying datatype as int
â spelling of some variable TotalSecondsFromMinutes is incorrect in print statement
â suggestion : try to write small variable names & start them with small letter(as generally classes are given first letter as capital, its a good programming practice & makes code more readable)
+ 6
yes it will give no error, but I guess you should add seconds too while accounting for totalSecs (try using this variable instead of Totalsecs) đ
+ 4
Yes man I'll work on that. Thank u so much. God bless u man
+ 3
Thank you. Helpful indeed. I did all of the things that you said. But is it correct now?