logo CodeStepByStep logo

PercentageGrade

Language/Type: VB basics if/else

What's wrong with the following code? Modify it to produce the intended output. Make sure to properly utilize If/Else statements to avoid redundancy and avoid unnecessary tests. Do not use the And or Or operators in your solution.

What percentage did you earn? 87
You got a B!
Bare code: Write a fragment of VB code as described, without any class or function/method heading around your code.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.