工资
This commit is contained in:
parent
14a2c954ef
commit
da036a3a93
12
第一讲 变量、输入输出、表达式与顺序语句/609.cpp
Normal file
12
第一讲 变量、输入输出、表达式与顺序语句/609.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user