0
Module 1 Quiz Time Converter is this correct?
You need a program to convert days to seconds. The given code takes the amount of days as input. Complete the code to convert it to seconds and output the result. Sample Input: 12 Sample Output: 1036800 import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int days = scanner.nextInt(); int dayToSeconds=days*24*60*60 System.out.printIn(dayToSeconds) } }
3 Answers
+ 3
1. Check semicolons ;
2. It is letter "l" (el), not "I" (ay) in System.out.println
https://code.sololearn.com/ca150A1753A0
0
Run your code in the quiz to find out yourself
0
I am writing a correct code but the answer is not coming