摘要:
题目 1.求职者对“求职中心”的职位需求信息非常关心,很想跟踪“求职中心”中职位需求信息的变化。“求职中心”让求职者把个人信息登记下来。当出现新的职位需求时,“求职中心”会通知全体求职者,而求职者会根据不同的职位需求做出不同的响应:应聘或忽略。 2.编写程序,模拟求职者在“求职中心”进行登记,“求职 阅读全文
posted @ 2022-08-30 21:43
catting123
阅读(94)
评论(0)
推荐(0)
摘要:
UML类图 代码 #include <iostream> #include <cmath> #include <fstream> #include <sstream> #include <string> #include <stdexcept> #include <exception> #inclu 阅读全文
posted @ 2022-08-30 21:37
catting123
阅读(52)
评论(0)
推荐(0)
摘要:
UML类图: 代码: #include <iostream> #include <iomanip> using namespace std; // 银行账户类 class Account { public: Account() :balance(0) {} Account(double balanc 阅读全文
posted @ 2022-08-30 21:25
catting123
阅读(100)
评论(0)
推荐(0)
摘要:
UML类图: 代码: #include <iostream> #include <string> using namespace std; class Park; // 前向引用声明 // 汽车 class Automobile { public: Automobile(string number) 阅读全文
posted @ 2022-08-30 21:22
catting123
阅读(102)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <string> using namespace std; /* 商品类 */ class Commodity { public: Commodity() = default; Commodity(string name, double pr 阅读全文
posted @ 2022-08-30 21:18
catting123
阅读(109)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <string> using namespace std; class CD { public: CD(string name, string songs[]);// 构造函数 CD(CD& newCD); // 复制构造函数 string 阅读全文
posted @ 2022-08-30 21:16
catting123
阅读(220)
评论(0)
推荐(0)
摘要:
根据题目要求编写模拟的程序 (1) 五一小假期,许多人选择外出旅游。每位乘客(Passenger)最多可以携带 3 件行李( Luggage)。并且乘客可以选择个人自由行;或者参加旅行社(TravelAgency)组织的旅行团。 (2)自由行的目的地、旅行团的目的地都相同,都是 3 个,分别是国内短 阅读全文
posted @ 2022-08-30 21:11
catting123
阅读(110)
评论(0)
推荐(0)
摘要:
(1)问题描述 一个国家计算所得税的规则由如下的不确定多条规则构成: M1, R1 M2, R2 ... Mn, Rn 其中,n是规则的条数,由用户输入。对于任意的1<=i<=n,Ri表示个人收入中在区间[Mi, Mi+1)的部分的税率,它是一个整数,代表百分之几。M1为税率起征点,M0=0, R0 阅读全文
posted @ 2022-08-30 21:05
catting123
阅读(136)
评论(0)
推荐(0)
摘要:
模拟计算机的画图功能,能够模拟画圆和长方形的功能。程序主要功能如下: ① 提供一个如下的主菜单。 ******************************* 1. Circle (圆) 2. Rectangle (长方形) 0. Exit (退出) *********************** 阅读全文
posted @ 2022-08-30 20:57
catting123
阅读(112)
评论(0)
推荐(0)
摘要:
//Point.h #ifndef POINT_H #define POINT_H #include <iostream> #include <iomanip> #include <string> #include <cmath> using namespace std; class Point { 阅读全文
posted @ 2022-08-30 20:52
catting123
阅读(44)
评论(0)
推荐(0)