Question

ion 12 et answered entered in text box grade Textbox Declare variables into which you will retrieve the ed out of 8.00 lag question gradeLabel in the format of name, colon and letter grade, such as: Bob Johnson: A 3-1 (8 Points) Suppose students name is entered in text box name Textbox and grade is values entered Use If. block to assign a letter grade to the variable strGrade based on the typical 90, 80,70, etc cur-off criteria. Display the students name and letter grade in
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

The format used is of C++.

if(gradeTextbox>90)

cout<<nameTextbox<<": A"; //Display grade

else if(gradeTextbox>= 80 && average<90)

cout<<nameTextbox<<": B";

else if(gradeTextbox>= 70 && average<80)

cout<<nameTextbox<<": C";

else if(gradeTextbox>= 60 && average<70)

cout<<nameTextbox<<": D";

else if(gradeTextbox<60)

cout<<nameTextbox<<": F";

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Add a comment
Know the answer?
Add Answer to:
ion 12 et answered entered in text box grade Textbox Declare variables into which you will...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT