04 2023 档案

摘要:#include<iostream>#include<string>using namespace std;int main(){ string a[10]={"ling","yi","er","san","si","wu","liu","qi", "ba","jiu"}; int b[20]; / 阅读全文
posted @ 2023-04-27 22:22 ruangong 阅读(25) 评论(0) 推荐(0)
摘要:#include<iostream>using namespace std;class Time{ private: int min,hour; public: Time(int a=0,int b=0) { min=b; hour=a; } int hu() { int hu=hour*60+mi 阅读全文
posted @ 2023-04-21 10:58 ruangong 阅读(44) 评论(0) 推荐(0)
摘要:1.class Car:public Vehicle{ private: int zai,zhong; public: Car(string NO,int z,int l):Vehicle(NO),zai(z),zhong(l) {} int fee() { return zai*8+zhong*2 阅读全文
posted @ 2023-04-15 22:03 ruangong 阅读(36) 评论(0) 推荐(0)