徐國堂
徐國堂
王秀妤
老師您好:我想試著用Python寫寫以下的資訊,但不知該用哪些函數搭配使用!麻煩老師指點一下~感恩!! 租賃專法對「委託代管業代管」或「出租給包租業轉租」一年以上的個人房東祭出所得稅減免優惠,每個月資金6000以下不用繳稅;月租金6000元到兩萬元的部分,必要費用減除率為53%;月租金超過兩萬元部分,全額納入所得稅。
``` #include int main(void) { printf("求梯型面積(上底+下底) * 高 / 2\n"); printf("上底:2\n"); printf("下底:3\n"); printf("高:3\n"); printf("面積:%.3lf\n",(2 + 3) * 3 / 2.0); printf("面積:%.3lf\n",(2 + 3) * (double)3 / 2); return 0; }...
``` #include #include #include using namespace std; // 定義結構 typedef struct student{ string name; int chinese; int english; int math; int sum = 0; double average; }Student; int main() {...
``` #include #include #include using namespace std; typedef struct student { string name; int chinese; int english; int math; } Student; int main() { int min = 50; int max...