What will be the output of the following program? int x = 2; float y = 7; System.out.println(“\n the value of x is :”); System.out.print(x+5*y); System.out.print(“The value of y is : “); System.out.print(x + 10/y);
Answers
Answered by
1
Answer:
the value of x is:2
2+5*7
the value of y is:7
2+10/7
Similar questions
Social Sciences,
5 months ago
CBSE BOARD X,
11 months ago
Computer Science,
11 months ago
Science,
1 year ago