okay so we have to create a coursework submission system where students submit there assignments and the teacher can get the assignment grade it and send back to student and if they want to add ocmments they can add comments.. i am so lost with how to create a system function this is what i have so far for the project any help woulb be appreciated. I looked at the tuturials and other post by members to help me figure what i had out so far and understand it.
#include <iostream>
#include <fstream>
#include <string>
void getcourseinfo();
void findAvg();
void giveGrade();
void output();
using namespace std;
float gradeavg = 0;
string studentname[200];
float score[200];
string grade[200];
signed int CW=-1;
ofstream file;
string filename;
int main(void)
{
system("color 0a");
system("cls");
cout << "|WELCOME TO STUDENT COURSE WORK SUBMISSION SYSTEM!!|" << endl;
const int NO_OF_STUDENTS = 25;
int getstudentcount ();
int getassignmentscores ();
int calculatepointgrades ();
int calculatelettergrades ();
int showgradedata ();
int arrayavg ();
double arrayave ();
int students[NO_OF_STUDENTS];
int assignmentscores[NO_OF_STUDENTS];
int A;
int assignment;
int main()
{
int getstudentcount ();
cout << "Enter the number of students" << endl;
for (int s = 0; s <= 25; s++)
{
int students (0);
return 0;
cout << "students[NO_OF_STUDENTS]";
}
int getassignmentscores ();
cout << "Enter the student assignment scores";
return 0;
for(int assignment = 0; assignment <= 10; assignment++)
{
int assignmentcores (0);
cout << "assignmentscores[NO_OF_STUDENTS]";
}
return 0;
}