Find Jobs
Hire Freelancers

Small College Program Assignment

$30-5000 USD

已完成
已发布将近 23 年前

$30-5000 USD

货到付款
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. ## Deadline information I have to have this program turned in by 6/8/01
项目 ID: 2822707

关于此项目

6提案
远程项目
活跃23 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$31.50 USD 在14天之内
5.0 (7条评论)
3.1
3.1
6威客以平均价$51 USD来参与此工作竞价
用户头像
See private message.
$85 USD 在14天之内
5.0 (51条评论)
6.3
6.3
用户头像
See private message.
$63.75 USD 在14天之内
5.0 (11条评论)
4.2
4.2
用户头像
See private message.
$51 USD 在14天之内
4.6 (5条评论)
3.4
3.4
用户头像
See private message.
$28.05 USD 在14天之内
5.0 (10条评论)
3.0
3.0
用户头像
See private message.
$46.75 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
9
会员自5月 23, 2001起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。