The One-Stop Software Outsourcing Solution
|
Login
|
|
Show Bid Request
Small College Program Assignment
Bid Request Id: 319
|
Bookmark
|
Posted by: |
maryjayne (9 ratings)
(Software buyer rating 10)
|
Posted: |
6/5/2001 10:25:55 PM EST
|
Bidding Closes: |
6/8/2001 10:25:55 PM EST
|
Viewed: |
354 times
|
|
|
|
Description:
This is the assignment. Modify the date class of figure 6.12 to perform error checking on the initializer values for the data members month, day, and year. Also provide a member function nextDay to increment the day by one. The Date object should always remain in a consistent state. Write a driver program that tests the nextDay function in a loop that prints the date during each iteration of the loop to illustrate that the nextDay function works correctly. Be sure to test the following cases: (1)Incrementing into the next month. (2)Incrementing into the next year.
Deliverables: I have to turn in a program listing and the .cpp files and the .h files.
Here is a copy of Figure 6.12 as described in the description:
//figure 6.12
class Date { public: Date( int=1,int=1,int=1990); void print(); private: int month; int day; int year; };
The file for the main () program must begin with a header containing the following information:
Program Title: Details: Input:What input is required for this code segment to accomplish its task. Input Date Types and variable names. Output:What output does this code produce. Output data types and variable names. Intermediate Variables:Intermediate data types and variable names. Global Variables: Global data types and variable names.
Design: A description of the algorithm or logic used in the design of the program. Steps used to create the solution. Include any neccessary explanations to understand the program.
I have some pseudocode already done that I can send whoever wants to do this program.
Special Conditions / Other:
I have to have this program turned in by 6/8/01
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation, you can report it to: abuse@rentacoder.com.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$35
|
6/7/2001 3:00:32 PM EST
|
10
(Excellent)
|
|
|
I have done two Calendar programs in C++ and VB. You assignment is actually a part of such program. Error checking is values to be correct (day > 0 && day <= MAX, which depends of the month and in case of February - of the year as well (leap or not).
|
|
|
|
|
|
|
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
- All customer issues addressed within 2 days
- Openly disclosed pricing and return policies
- Participation in mediation at buyer request
- Superior selling track record
This site is verified through it's parent company, Exhedra Solutions, Inc.
|
|
|
See all top coders...
What makes a top coder?
Created in partnership with:
|
|
In memory of the victims and the courageous rescuers of 9/11/2001
|
|