你作业不少啊,稍等应该还有其它代码啊,比如main函数,不然不知道类名是什么类名根据main函数中使用的类名填写就好了后面是三行输入
cin>>Amount_PC; cin>>Amount_DSO; cin>>Amount_TestBox;