Season.cpp

所属分类:通讯编程文档
开发工具:Visual C++
文件大小:2KB
下载次数:1
上传日期:2016-05-02 17:24:09
上 传 者christianL
说明:  此程序可以根据所输入的数字1-4或者字符 SPR -“Win”来输出相应的季节并且可以选择输入功能。
(This task asks student to write a program with a class. It should initialize a class called season. In this class, there will be an integer variable to represent a season. For instance, 1 represents Spring, 2 represents Summer. Also, there will be a constructor to set the season using the first three letters in the name of the season. For instance, “spr” represents spring. There exist some requirements: a default constructor shall be included in the code, two input functions namely read the season as integer and letters shall be in the code. Also, there should be an output function that outputs the season as whole names. Eventually, after the season is displayed, the season next to it should also be displayed on the screen of type season. )

文件列表:
Season.cpp (4141, 2016-03-28)
__MACOSX (0, 2016-05-02)
__MACOSX\._Season.cpp (171, 2016-03-28)

近期下载者

相关文件


收藏者