A
Q. What is is the output of the Java program?
Code:
int marks=85;
if(marks >= 80)
System.out.println("DISTINCTION");
else if(marks >=35)
System.out.println("PASS");
if(marks >= 80)
System.out.println("DISTINCTION");
else if(marks >=35)
System.out.println("PASS");
- Correct Answer - Option(A)
- Views: 25
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.