CPP_Basics_Syntax/第一讲 变量、输入输出、表达式与顺序语句/609.cpp

12 lines
187 B
C++

#include <cstdio>
using namespace std;
int main()
{
int a, b;
double c;
scanf("%d%d%lf", &a, &b, &c);
printf("NUMBER = %d\nSALARY = U$ %.2lf", a, b * c);
return 0;
}