Computer Science, asked by babitabrajeshmangala, 4 months ago

Output:
C Write the output of the following codes
1. if (5>3)
System.out.println ("5 is greater");
else if (35)
System.out.println("3 is greater");
else
System.out.println ("both are equal");​

Answers

Answered by ItzMeSam35
4

OUTPUT :

5 is greater

Reason :

5 > 3 = true

3 > 5 = false

5 == 3 = false

Similar questions