0
Please someone make correct me .
Time Concersion Java code ( days into seconds ) https://code.sololearn.com/cZdnmy1Tj3rD/?ref=app
9 Respuestas
+ 9
Just_ Luvvv
Ig you have forget to add
int days =sc.nextInt();
In your code.. that can be the reason your code isn't working!
+ 8
U can't take user input by like that Lol..
Also use nextInt() instead of nextLine() when u have to assign an integer value to days as user input...
Now corrected 👇
https://code.sololearn.com/c0ZQvj5H9wM3/?ref=app
+ 7
Just_ Luvvv
1. nextInt() => i should be capital
2. Use + for combining outputs instead of ' , ' ...
i.e. System.out.println("Days="+ days);
+ 1
Okhh Alphin K Sajan but will uU tell me why my code doesn't work ?
+ 1
Yaaa ,I got it Piyush[21 Dec❤️]
0
Okh
0
One more thing
0
If I want want as this
https://code.sololearn.com/cZdnmy1Tj3rD/?ref=app
0
Piyush[21 Dec❤️] will uU tell