Maybe you need to read the data into an array of structs.
struct Student {
double program1, program2, program3, program4, program5;
double test1, test2;
double average1, average2,...
Type: Posts; User: oogabooga
Maybe you need to read the data into an array of structs.
struct Student {
double program1, program2, program3, program4, program5;
double test1, test2;
double average1, average2,...
You'd have to post your code.
But you haven't actually set a width for the names. Why not concatenate the first and last names (with a space between) before the cout statement and then set a width.
string name = firstName +...