一个简单的程序,记录伪代码的使用

计算工资

1 Display "Enter working time:  "
2 
3 Input workTime
4 
5 Display "Enter salary: "
6 
7 Input salary
8 
9 Display "Your total salary are ", salary * workTime

Display 表示打印一串字符串

Input 表示输入数据

猜你喜欢

转载自www.cnblogs.com/new-moon/p/10101652.html
今日推荐