請(qǐng)問(wèn)大佬們這個(gè)哪里有問(wèn)題
int fee(int t, int m)
??? {
??????? if (t<23 && t<5)
??????? {
??????????? if (m<=3)
??????????? {
??????????????? return 13+1;
??????????? }
??????????? else
??????????? {
??????????????? return 13 + (m-3)*2.3*(1+0.2) + 1;
??????????? }
??????? }
??????? else
??????? {
??????????? if (m<3)
??????????? {
??????????????? return 13+1;
??????????? }
??????????? else
??????????? {
??????????????? return 13 + (m-3)*2.3 + 1;
??????????? }
??????? }
??? }
2020-09-17
你這個(gè)都算錯(cuò)了,時(shí)間你再檢查一下