10 lines
285 B
Bash
Executable File
10 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
#Program:
|
|
# 输入两个值计算它们乘积的结果
|
|
#History:
|
|
# 2024/07/12 LouisFonda<yigencong@yahoo.com> first release
|
|
|
|
read -p "请输入要计算的第一个值:" num1
|
|
read -p "请输入要计算的第二个值:" num2
|
|
echo "最终结果为: $(($num1 * $num2))"
|