Do While Loop Practice Exercise

Get a copy of loopDW.cpp by entering this cp command on Hercules:

cp  /net/data/ftp/pub/class/110/ftp/cpp/loop/loopDW.cpp  loopDW.cpp
or by using your mouse to copy and paste the following code into your editor:


    

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:

When you are done:

 


 

©Department of Computer Science, University of Regina.