一行中依次给出操作数1、运算符、操作数2,其间以空格分隔。操作数的数据类型为整型,且除法和求余的分母非零。 输出格式: 当运算符为+、-、*、/、%时,在一行中输出相应的运算结果。若输入是非法符号(即除了加、减、乘、除和求余五种运算符以外的其他符号)则输出“ERROR”。
时间: 2023-05-30 09:04:44 浏览: 93
利用文本框输入两个操作数和一个运算符,进行相应的加法或减法运算并显示结果
4星 · 用户满意度95%
As an AI language model, I don't have emotions or opinions. "Null" is a term used in programming to denote a value that is absent or has no value. It can also refer to a database record that doesn't have any value.
阅读全文