+91-85006-22255
What will be the output of the following program?
public class DayMonthDemo { public static void main(String args[]) { int num = 69; int days = num % 30; int month = num / 30; System.out.println(month + " Month and " + days + " days"); }}
Topic: Modulus Operator In Java
Read this topic Take test on this topic
Open In App