Code:
#include<iostream>
#include<cstring>
using namespace std;
int main ()
{
int counter=0;
int const max_array=100;
string name_array[max_array];
double gpa_array[max_array];
int id_array[max_array];
cout<<"Please Enter the GPA for the number of students"<<endl;
{
for(int counter=0; counter<5; counter++)
cin>>gpa_array[counter];
}
{
cout<<endl;
for(int counter=0; counter<5; counter++)
cout<<gpa_array[counter]<<" "<<endl;
return 0;
}
}
so far this is what I have done on my own after this im am unsure of how to begin my string array and how to manipulate it.