블로그 관리 쉬는 중
#include<cstdio> int t, a, b, c, d, e; int main() { scanf("%d", &t); while (t--) scanf("%d %d %d %d %d", &a, &b, &c, &d, &e), printf("$%.2f\n", 350.34*a + 230.9*b + 190.55*c + 125.3*d + 180.9*e); return 0; }
댓글 없음 :
댓글 쓰기