Return To CS 110 Home

Colour Theme   Font Size Options
 
   
   
   
Do While Example

Do While Loop Practice Exercise


Video Summary: https://youtu.be/0LaAyvg5AP4


Copy and paste the following example into your IDE:


When this exercise is completed, the program will ask for a mark. The program will not continue, but will keep looping and asking for marks until a mark between 0 and 100, inclusive, is typed. It will then assign a letter grade to the mark.

Instructions: