public class Increment { public static void main(String args[]) { double num1 = 5 + 10; double num2 = num1 / 6; int num3 = 10 + 5; int num4 = num3 / 6; System.out.print(num2 + " " + num4); } }
output: 2.5 2
Previous Question Next Question
Your comments will be displayed only after manual approval.