Please Answer Urgently Please If You Can Ans So Answer Otherwise Don't Answer
Attachments:
Answers
Answered by
1
Answer:
this is java right ? I can explain logic cause code is too long
Explanation:
1. if condition in java test the result of an expression , variable or a value against another literal using logical operators like == != > < and so on resulting in true or false
if true it executes loop body else it transfers control to line if code after loop body.
general syntax
char grade;
System.out.println("enter marks");
int x = a.c..nextInt();
if ((x >= 71 )&&(x<91 )){
grade = 'B';
}
this is not full code just a snippet
Similar questions