C programming Windows console applicationSolutionCode includ

C++ programming Windows console application

Solution

Code:

#include<iostream>
using namespace std;
int main()
{
int x=0;
string names[10];
int grades[10];
for(x=0;x<10;x++)
{
  cout<<\"enter \"<<x+1<<\" student name\"<<endl;
  cin>>names[x];
}
//input test data
for(x=0;x<10;x++)
{
  cout<<\"enter \"<<x+1<<\" student grade\"<<endl;
  cin>>grades[x];
}
cout<<\"Programming class grades\"<<endl;
for(x=0;x<10;x++)
{
   cout<<names[x]<<\"     \"<<grades[x]<<endl;
}
return 0;
}

C++ programming Windows console applicationSolutionCode: #include<iostream> using namespace std; int main() { int x=0; string names[10]; int grades[10]; f

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site