[SOLVED] CS // from: Savitch. Absolute C++.

$25

File Name: CS_//_from:_Savitch._Absolute_C++..zip
File Size: 320.28 KB

5/5 - (1 vote)

// from: Savitch. Absolute C++.

#include
#include DayOfYear.h
using namespace std;

int main()
{
DayOfYear canadianDay;
canadianDay.set(7, 1);
canadianDay.output();

DayOfYear *ptrNewYear;
ptrNewYear = new DayOfYear();
ptrNewYear->set(1, 1);
ptrNewYear->output();

const DayOfYear newYear(1, 1);
newYear.output();

DayOfYear customDayOfYear;
customDayOfYear.input();
customDayOfYear.output();

cout << “Compared to canadian day ” << customDayOfYear.compareAnotherDayOfYear(canadianDay) << endl;}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS // from: Savitch. Absolute C++.
$25