anonymous
2010-12-03 20:57:48 UTC
#include
#include
#include
// more libraries
using namespace std;
//global variables
// and function declarations (prototypes) - reminder - end with semi colon
int main ()
{
string Name;
string Grade;
string P1; //Problems for k - 4
string P2; //Problems for 5 & 6
cout << "Hello, and welcome to Math 101..." << endl;
cout << "Please Enter You Name...";
cin >> Name;
cout << "Hello " + Name + ", Please enter you Grade...";
cout << "1. Kindergarden";
cout << "2. First Grade";
cout << "3. Second Grade";
cout << "4. Third Grade";
cout << "5. Fourth Grade";
cout << "6. Fifth Grade";
cout << "7. Sixth Grade";
cin >> Grade;
if (Grade = k,K,1,2,3,4);
cout << "Okay, what would you like to work on? " << endl;
cout << "For Addition. Type A " << endl;
cout << "For Subtraction, Type S" << endl;
cin >> P1;
if (P1 = A);
if (P1 = S);
else cout << "What was that?..." << endl;
return 0;
system ("pause");
}