Code:#include <iostream> #include <string> using namespace std; int main(void) { string name; string math; ;int a; ;int d; ;int matha; ;cout << "Enter name: \n" ;cin >> name; ;cout << "Enter math grade " << name << " got: \n" ;cin >> math; if (matha = a){cout << name << " passed \n"; } else if (matha = d){cout << name << " failed \n";} ;system("PAUSE"); return 0; }