完了済み

428203 Days of the week program

Write a program that contains a class that implements the days of the week. The program should be able to perform the following on an object of the class.

* Set the day

* Print the day to the computer monitor (not the printer)

* Return the day

The steps are outlined below, this is for C++, I am using microsoft visual 2005:

LABSTEPS

STEP 1: Create the Project and Main Class

Create a new console application project and name it "Week1Lab_YourName".

Create a new class called DayOfTheWeek. The class should have a data member that can store the day of the week such as Mon for Monday, Tues for Tuesday etc...

STEP 2: Create the Member Functions

Create the necessary member functions that will perform the required operations outlined in the lab summary above.

Call these functions setDay, printDay, and getDay.

STEP 3: Create a Main() Program

Write a main program that will instantiate two objects of the class DayOfTheWeek. Use these objects to test the various operations on this class.

1

スキル: その他, C プログラミング

さらに表示: test the application, steps to computer programming, program of computer, programming monitor, implements set, computer programming program, computer programming class, lab test, Console application, computer program, set printer, test program, day week monday, use programming class project, project program using class, monday week, computer lab program, program set day week, printer test, computer monitor

採用者について:
( 26件のレビュー ) Chicago, United States

プロジェクトID: #2174073

アワード:

tkearn5000

Please see PMB.

$10 USD 0日以内
(0レビュー)
0.0