YCP Logo Lab 12: Class Standing Calculator

Due: Friday, Sept 26th by 11:59 PM

Getting Started

If you have a solution open in Visual Studio, close it (File->Close Solution).

Download CS200_Lab12.zip. Import it into Visual Studio (File->Import...).

Add your code to the source file called ClassStanding.c.

Your Task

Write a program to determine what class (Freshman, Sophomore, Junior, or Senior) a student is in based on the number of credits he or she has earned.

Here are the rules for deciding what class a student is in:

Credits Class
0-29 Freshman
30-59 Sophomore
60-89 Junior
90 or more Senior

Example run of the program (user input in bold):

Number of credits earned: 39
You are a Sophomore

Another example:

Number of credits earned: 125
You are a Senior

Submit

When you are done, choose Tools->Submit to submit your completed lab to the server. You will need to enter your Marmoset username and password.

If the Tools->Submit option does not work, create a zip file containing the files in your project, and upload it to the submission server as lab12. The server URL is

https://camel.ycp.edu:8443/