Write code that calculates how many seconds have passed since 3:00 PM when the clock says it's 3:30 PM. Display the result.
Requirements:
• The program should output text.
• The displayed text should be a positive integer.
• The displayed number must be a multiple of 60.
• The displayed number must match the task conditions.
package com.codegym.task.task01.task0133;
/*
Don't think about seconds…
*/
public class Solution {
public static void main(String[] args) {
int secondsAfter15 = 0;
System.out.println(secondsAfter15);
}
}