Time due: 10:00 PM Wednesday, January 14th
Questions regarding this specification may be sent to your TA or to Joe Shinnerl. Before you ask, see if your question hasn't already been addressed by the Project 1 FAQ. Read the FAQ before you start work to be sure you didn't misinterpret anything.
The purpose of this assignment is to have you start learning how to use the Visual Studio .NET environment and understand a variety of programming errors.
Here's what you are to do:
What you will turn in for this assignment is a zip file containing
You can create flowcharts in MS Word, e.g., by selecting Insert--Picture--AutoShapes from the pull down menus. The AutoShapes toolbar includes a "flowchart" category with all the shapes and connectors you'll need. To add text to a shape, right-click on the shape and select "Add text" from the menu.
Do not include anything else in the zip file. To create a zip file, you may use the TurboZip utility (available on the SEASnet machines or obtainable from FileStream), or any other utility that creates files in zip format (e.g., WinZip or PowerArchiver).
The "Submit Project 1" link on the Project 1 webpage enables you to turn in your zip file electronically. Turn in the file by the due time above. Remember that most computing tasks take longer than expected; this applies especially to steps 1, 2, and 3 above. Start this assignment now!
	// Code for Project 1
	// Determine a simple statistic
	
	#include <iostream>
	
	using std::cout;       // see p. 37 in Savitch book
	using std::cin;
	using std::endl;
	using std::ios;
	
	int main()
	{
	    int allStudents;
	    int CSStudents;
	
	    cout << "How many students are enrolled in CS 31? ";
	    cin >> allStudents;
	    cout << "How many of them are CS majors? ";
	    cin >> CSStudents;
	
	    double percentage = 100.0 * CSStudents / allStudents;
	    cout.setf(ios::fixed);       // see p. 32 in Savitch book
	    cout.setf(ios::showpoint);
	    cout.precision(1);
	
	    cout << percentage << "% of CS 31 students are CS majors" << endl;
	}