write a program that prompts to enter student grade and name , 3 times for each of them and show the result of each name with the grade
#include <iostream>
using namespace std;
int i,j;
int grade[3][3];
char name[3][100];
void main(){
for (i=0;i<=2;i++){
& cout<<"Enter the student's name: ";
& cin>>name[i];
& for (j=0;j<=2;j++){
& cout<<"Enter his "<<j+1<<" grade: ";
& cin>>grade[i][j];
& }
}
for (i=0;i<=2;i++){
& cout<<name[i];
& for (j=0;j<=2;j++) cout<<" "<<grade[i][j];
& cout<<"\n";
}
}