蓝桥杯算法提高VIP-模拟计算器
摘要:解题思路:输入两个整型变量,一个字符。用Switch对字符进行判断,输出结果。注意事项:用scanf时要加入空格参考代码:#include<stdio.h>int main(){ int a,b……
1480: 蓝桥杯算法提高VIP-模拟计算器
摘要:```c
#include
int main()
{
int m, n;
char c;
scanf("%d %d %c", &m, &n, &c);
s……
题解 1480: 蓝桥杯算法提高VIP-模拟计算器
摘要:解题思路:注意事项:1.单个字符需要用单引号括起来参考代码:#include<stdio.h>
int main()
{
int a,b;
char c;
scanf……
蓝桥杯算法提高VIP-模拟计算器
摘要:#include
void main()
{
int a,b,k;
char i;
scanf("%d%d %c",&a,&b,&i);
if(i=='+')
k=1;
i……
模拟计算器(C语言)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m; char u; scanf("%d %d %c", &n, &m, &u)……
蓝桥杯算法提高VIP-模拟计算器(c)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int choise_F(char A);int main(){ int x,y; char A; while(scanf("……
1480: 蓝桥杯算法提高VIP-模拟计算器(避坑,字符输入
摘要:既然题目里给了3 4 +(注意空格的位置),我们的scanf语句最好写成下面代码所示,否则空格将会影响ch的输入
```c
#include
int main()
{
c……