Question: so the thing need fone is using this same program but using just nested loops (WITHOUT the else if ) simple code using this same

so the thing need fone is using this same program but using just nested loops (WITHOUT the else if ) simple code using this same program . ( JAVA)
so the thing need fone is using this same program but using

import java.util.Scanner; public class IfElseDemo { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("Please enter the point grade of the student: "); Scanner inp = new Scanner(System.in); int gradepoint inp.nextInt(); char grade; if (gradePoint = 90) { grade 'A'; } else if (gradePoint = 80) grade = 'B'; else if (gradePoint = 70) grade = 'C'; else if(gradePoint = 60) grade D'; else { grade = 'i'; System.out.println("You have failed"); } = T! System.out.println("Your grade is + grade)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!