Problem 1: Write a program that keeps reading letter grade (A, B, C, D and F) until the user enters a non-valid one as a sentinel value. The program then should display the percentage of failed...

Hi! Please I want this written in Java programming language. Don’t forget to use documentation (comments) and proper indentation.
Problem 1:<br>Write a program that keeps reading letter grade (A, B, C, D and F) until the user enters a non-valid one as a<br>sentinel value. The program then should display the percentage of failed students.<br>Sample Run:<br>Enter a letter grade: B<br>Enter a letter grade: F<br>letter grade: C<br>Enter a letter grade: A<br>Enter a letter grade: C<br>a letter grade: C<br>Enter a letter grade: F<br>Enter a letter grade: F<br>Enter a letter grade: A<br>Enter a letter grade: C<br>Enter a letter grade: A<br>Enter a letter grade: A<br>Enter a letter grade: F<br>Enter a letter grade: B<br>Enter a letter grade: H<br>Enter<br>Enter<br>The percentage of failed students is 28.57%<br>

Extracted text: Problem 1: Write a program that keeps reading letter grade (A, B, C, D and F) until the user enters a non-valid one as a sentinel value. The program then should display the percentage of failed students. Sample Run: Enter a letter grade: B Enter a letter grade: F letter grade: C Enter a letter grade: A Enter a letter grade: C a letter grade: C Enter a letter grade: F Enter a letter grade: F Enter a letter grade: A Enter a letter grade: C Enter a letter grade: A Enter a letter grade: A Enter a letter grade: F Enter a letter grade: B Enter a letter grade: H Enter Enter The percentage of failed students is 28.57%

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here