📅  最后修改于: 2022-03-11 14:44:56.199000             🧑  作者: Mango
代码示例3
#include
using namespace std;
int a,b,c,d,i;
class Holiday{
public:virtual void Expenses()=0;
};
class Citizen:public Holiday{
public:
void Expenses(){
cin>>c;
for (i=0; i>a;
if (d