Question: Write in Coral Code 8 . 6 LAB: User - Defined Function: Find Letter Grade Read an input from the Input Box that is a

Write in Coral Code
8.6 LAB: User-Defined Function: Find Letter Grade
Read an input from the Input Box that is a Student's Average.
Using a 10 point scale:
90 to 100 is an A
80 to 89 is a B
70 to 79 is a C
60 to 69 is a D
below 60 is an F
Display the message Student Grade: grade. where grade is A, B, C, D, or F.
Write this program by writing a Function called LetterGrade that takes one integer argument and returns nothing. The function header should be:
Function LetterGrade(integer average) returns nothing
The LetterGrade Function should display the messages:
Student Average: average Student Grade: grade
where grade is A, B, C, D, or F.
For example if the input is:
95
The output should be:
Student Average: 95 Student Grade: A
If the input is:
72
The output should be:
Student Average: 72 Student Grade: C

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 Programming Questions!