R
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: 180
- Filed under category JAVA
Discusssion
Login to discuss.