Code:
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
class Student
{
protected:
int social;
string name;
string *NamePtr;
public:
Student (); // Default constructor
Student(int ssn, string
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
class Student
{
protected:
int social;
string name;
string *NamePtr;
public:
Student (); // Default constructor
Student(int ssn, string
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
const int SIZE = 80;
class Student
{
protected:
int social;
string name;
char *NamePtr;
public:
Student (int = 999999999 , char [] = "unassigned");
#include <iostream> #include <iomanip> #include <string> using namespace std; class
#include <iostream>
#include <iomanip>
#include <cctype>
using namespace std;
int main ()
{
const double income_amt[] = {0,10000,20000,50000,100000};
double tax_rates[] = {0,0.05,0.10,0.15,0.20};
int i = 0;
double gross_pay = 0 ;
double
#include<iostream>
using namespace std;
int main()
{
int midterm_grade, project_ave, homework_ave;
int average;
cout <<"Please enter your midterm grade:\n";
cin >> midterm_grade;
cout <<"Please enter your project average:\n";
cin >> project_ave;
Leave a comment: