#! /bin/bash # read -p '请输入数:' a //输入 read -p '请输入数:' b echo '$a+$b=' $(( a + b )) //输出 echo '$a-$b=' $(( a - b )) echo '$a*$b=' $(( a * b )) echo '$a/$b=' $(( a / b )) echo '$a%$b=' $(( a % b )) 测试结果
uva 10494 - If We Were a Child Again If We Were a Child Again Input: standard inputOutput: standard output Time Limit: 7 seconds “Oooooooooooooooh! If I could do the easy mathematics like my school days!! I can guarantee, that I’d not make any mist
Snowflake Snow Snowflakes Time Limit: 4000MS Memory Limit: 65536K Total Submissions: 30529 Accepted: 8033 Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Y