answersLogoWhite

0

import java.util.Scanner;

import static java.lang.Syatem.out;

class Student

{

public static void main (String ar[])

{

Scanner sc = new Scanner (System.in);

System.out.println("Enter % of Student : ");

int G = sc.nextInt();

{

if(90=<G) && (G=<100)

System.out.println("Grsde is A+");

else

{

if(80=<G) && (G=<99)

System.out.println("Grsde is A");

else

{

if(70=<G) && (G=<89)

System.out.println("Grsde is B+");

else

{

if(60=<G) && (G=<79)

System.out.println("Grsde is B");

else

{

if(50=<G) && (G=<69)

System.out.println("Grsde is C+");

else

{

if(40=<G) && (G=<59)

System.out.println("Grsde is C");

else

{

if(34=<G) && (G=<39)

System.out.println("Grsde is D+");

else

{

if(G=33)

System.out.println("Grsde is D");

else

{

if(G<32)

System.out.println("Grsde is Fail");

else

System.out.println("Invalid Entry");

}

}

}

}

}

}

}

}

}

}

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering
Related Questions

Write a c program to generate student mark details using union and find total and average and grade?

write a c program to display marks,total,average,grade using union


How do you write a Program in php to print a marksheet?

To create a PHP program that prints a marksheet, you can start by defining an associative array to store subjects and their corresponding marks. Use a loop to iterate through the array and calculate total marks and percentage. Finally, format the output using HTML for better presentation, and utilize the echo statement to display the marksheet. Here’s a simple example: &lt;?php $marks = [&quot;Math&quot; =&gt; 85, &quot;Science&quot; =&gt; 78, &quot;English&quot; =&gt; 92]; $total = array_sum($marks); $percentage = ($total / (count($marks) * 100)) * 100; echo &quot;&lt;h1&gt;Marksheet&lt;/h1&gt;&quot;; foreach ($marks as $subject =&gt; $mark) { echo &quot;$subject: $mark&lt;br&gt;&quot;; } echo &quot;Total: $total&lt;br&gt;&quot;; echo &quot;Percentage: $percentage%&quot;; ?&gt;


What is the C plus plus program to illustrate multiple inheritance for read and display student details with 3 test marks and average?

You can show multiple inheritance by inheriting student details like name ,Admission number ,Parents name, address and other information from a school class and then also inherit his marks detail from the his Class's class like Grade 3rd . You will get his marks information from there. Then go forward and make functions to calculate the average marks and display the details.


What is the CGPA?

CGPA = cumulative grade point averageThe CGPA is the average of grade points obtaind in all subjects excluding additional subjects as per Scheme of studies. An indicative equivalence of Grade point and percentage of marks can be computed asSubject wise indicative percentage of marks =9.5 X GP of the subjectsOverall indicative percentage of marks =9.5 X CGPA


TO FIND PERCENTAGE IN SSLC FOR 9 A plus 1A?

To find the percentage in SSLC (Secondary School Leaving Certificate) for a student who has achieved 9 A grades and 1 A+ grade, first, total the grade points assigned to each grade. Typically, an A+ is valued higher than an A, so ensure to check the specific grading system used by the board. Then, calculate the total marks obtained and divide by the total possible marks, multiplying by 100 to get the percentage. For example, if grades are on a 10-point scale, the calculation would be (9 A grades × 9 + 1 A+ grade × 10) / total possible marks × 100.


How do you calculate cumulative percentage of marks?

You calculate overall percentage of engineering marks by taking the number of engineering marks and dividing it by the percentage. When you do that, you will get your average percentage of engineering marks.


How do you take out percentage of marks?

Suppose a test is worth X marks and you get Y marks. Then your percentage marks are100*(Y/X).


Write a program that would generate the grade of 5 students using java.The program uses names of the studentstheir CAT marksthree CAT marks and final score to allocate a grade.?

WikiAnswers is not for homework questions. Especially not badly-worded ones.


What is the definition of the word score?

Score is to grade by reviewing something and correcting it to find the errors in it. This is usually followed by a percentage or marks that signify what the score is.


How do you calculate percentage of total marks?

It is: (marks gained)/(total possible marks) times 100 to find the percentage


What is 75 marks out of 85 marks as a percentage?

88.2353%.


What is 525 marks out 600 as a percentage?

Well, isn't that a happy little question! To find the percentage, you simply divide the marks obtained (525) by the total marks (600) and then multiply by 100. So, 525 out of 600 is 87.5% - a beautiful grade to be proud of!