0

whats wrong in below code?

import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int days = scanner.nextInt(); int hours = days * 24; int mins = hours * 60; int sec = mins *60; System.Out.Println(sec); } }

30th Mar 2021, 1:55 PM
khushi ozha
khushi ozha - avatar
2 Respuestas
+ 1
System.out.println(sec); out not Out / println not Println.
30th Mar 2021, 2:03 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
If you are using high level Languages then always give concentration on letter case sensitive ☺️☺️☺️
30th Mar 2021, 2:25 PM
Anurag Kumar
Anurag Kumar - avatar