3.2.3字符型数据的输入和输出■调用scanf和printf输入输出字符double value1, value2;char operator;printf("Type in an expression:");scanf("%lf%c%lf", &value1, &op, &value2);printf("%.2f %c %.2f", value1, op, value2);操作数和运算符Type in an expression: 10.0+5.61之间不能出现10.00 + 5.61空格 (")3.2.3 字符型数据的输入和输出 ◼ 调用scanf和printf输入输出字符 double value1, value2; char operator; printf(“Type in an expression: ”); scanf(“%lf%c%lf”, &value1, &op, &value2); printf(“%.2f %c %.2f”, value1, op, value2); Type in an expression: 10.0+5.61 10.00 + 5.61 操作数和运算符 之间不能出现 空格(' ')