I have to write a program that reads a student's name together with his or her test scores.The program should then compute the average test score for each student and assign the appropriate grade.

I must have: A. a void function calculateAverage for the average.
B. a void function caculateGrade to determine the letter grade


so far I have:

Code:
#include <iostream>
#include <iomanip>
#include <cmath>
#include <fstream>
#include <string>

using namespace std;

void calculateAverage(int,int,int,int,int);
void calculateGrade(double);

int main()
{
	ifstream inFile;
	ofstream outFile;
	
	int test1 = 0,test2= 0,test3= 0,test4= 0,test5= 0;
	
	string name;

	inFile.open("c:\\7-6.txt");
	outFile.open("c:\\7-6output.out");

	outFile<<"Student\t"<<"Test 1\t"<<"Test 2\t"<<"Test 3\t"<<"Test 4\t"<<"Test 5\t"<<"Average\t"<<"Grade"<<endl;
	inFile>>name, test1,test2,test3,test4,test5;
	outFile<<<<name<<"\t"<<test1<<"\t"<<test2<<"\t"<<test3<<"\t"<<test4<<"\t"<<test5<<avg<<"\t"<<grade<<endl;
	
	return 0;
}
void calculateAverage(int test1,int test2,int test3,int test4,int test5)
{

	return;
}
void calculateGrade()
{
	return;
}
I know it isnt completed, but while running a test run on what I have the program never shows any output only a blank screen....what is wrong?