注意仔细审题
#include<cstdio> using namespace std; int main() { int n,t; double w; scanf("%d%d%lf",&n,&t,&w); printf("NUMBER = %d\nSALARY = U$ %.2lf\n",n,t*w); return 0; }