Welcome to Gaia! ::

Reply
Will do ANYTHING for help! (C++)

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

.g l a s s.

PostPosted: Mon Feb 12, 2007 7:37 pm


Hi guys. I have a really big problem. I've got two finals tomorrow but I also have to hand in this final project for my C++ programming class. I have no idea how to do it and if I don't hand it in I will flunk the class. Please help me so I can study for my finals. Please help, even if it's just a little. I'll do anything!

This is what I have to do:


Quote:
CECS 2203/03- Computer Programming I Laboratory

Project #2

Release Date: January 31, 2007
Due Date: February 13, 2007

Expand the program from the first project to include the following features:
• Allow the user to write the names and id number of the students.
• Allow the user to write the name of the courses that each student is taking. Each student must take 3 courses.
• Determine the final grade for each of the courses. Each course consists of three grades.
• Calculate the gpa of each student based on the three courses taken.
• For the view function the students must be organized by their gpa, highest gpa first.
• You must include all the options of the original program except for calculating the variance and standard deviation.
• For the compare function, the comparison will be made between the gpas of each student.



- You must document the entire program, adding comments that explain what every function does and to explain what each important calculation does.
- If you wish to add other options in addition to the ones discussed you must add a function to do it.
- For the functions discussed you can use any number of parameters that you find necessary to accomplish the task and the functions could all be void or they can return the value that you find appropriate.
- In the “about creator” option the program must write your name, class professor’s name, and the date.


This is what I've done so far:



//Alice Thon
//A0000002803
//Proyecto Registro de Notas
//Prof. Felix J. Nevares
//2203 Secc 03

#include
#include
#include
#include


void enternameid (char [], char [])
void entercourse (char [])
void entergrades (int [][][])
void finalgrade (int [][][])
void gpa(int [][][])
void changegrades(int [][][])
void seegrades()
void comparegpas()
void author(void)




void main (){


do{



cout << "MENU" << endl;
cout < cout <<"1. Enter student's name and ID#."< cout <<"2. Enter the courses names."< cout <<"3. Enter the student's grades." << endl;
cout <<"4. Calculate the final grade for each course." << endl;
cout <<"5. Calculate the GPA." << endl;
cout <<"6. Change the student's grades." << endl;
cout <<"7. View GPAs." << endl;
cout <<"8. Compare GPAs."< cout <<"9. About the author" << endl;
cout <<"10. Exit." << endl;
cout << endl;
cout << endl;
cout << "nnEnter option:" ;
cin >> opt;


switch (opt){


case 1:

enternameid(char [], char [])
break;

case 2:

entercourse(char [])
break;

case 3:

entergrades(int [][][]) //5 students, 3 exams, 3 courses
break;

case 4:

finalgrade(int [][][])
break;

case 5:

gpa(int [][][])
break;

case 6:

changegrades (int [][][])
break;

case 7:

seegrades()
break;

case 8:

comparegpas()
break;

case 9:

author(void)
break;



case 10:

system("cls")


cout << "You have finished using the program." << endl;
break;
default:
cout << "Invalid Option" <


system("cls")

break;

}//end switch

cout << endl;


}while (opt != 8)


}//end main


void enternameid (char [], char []){


for (i=0; i<5; i++){
cout<<"Enter the student's name:"<cin>>
cout<<"Enter the studen'ts ID#:"<cin>>
}

}



void entercourse (char []){


cout<<"Enter the name of the first course:"< cin>>
cout<<"Enter the name of the second course:"< cin>>
cout<<"Enter the name of the third course:"< cin>>

}


void entergrades (int [][][]){

}


void finalgrade (int [][][]){

}

void gpa(int [][][]){

}
void changegrades(int [][][]){

}
void seegrades(){

}

void comparegpas(){

}

void author(){

system("cls")

cout << "Program created by:" << endl;
cout << "Alice Thon est.#: A0000002803" << endl;
cout << "Prof:Felix J. Nevarez Cecs 2203 Sec03" << endl;
cout << "Feb 13 2007" << endl;
cout << endl << endl;


system("pause")
}


Please help me people. I promise I will study for the next C++ course that I'm taking next trimester, I promise I'll learn from your help. But please, you have to help me or else I will fail the class and ruin my GPA. Thank you.
PostPosted: Thu Aug 06, 2009 8:03 pm


I'll see if I can't help you out, I'll take a look at it. But on another note there are a few grammar mistakes and you aren't "using namespace std;"
Edit: oh wait... this looks kind of old

Dr Schrodinger


ChampionSound

PostPosted: Wed Feb 23, 2011 1:18 am


Yeah so did you end up failing? lol
Reply


 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum