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); } }
2 Réponses
+ 1
System.out.println(sec);
out not Out / println not Println.
0
If you are using high level Languages then always give concentration on letter case sensitive ☺️☺️☺️