+ 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 Respostas
+ 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?