java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月06日 0 点赞 0 评论 142 浏览 评分:9.9
题解 1480: 模拟计算器 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin…… 题解列表 2024年01月06日 0 点赞 0 评论 173 浏览 评分:9.9
1480: 模拟计算器 摘要:解题思路:注意事项:case后是‘符号’参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char…… 题解列表 2024年01月06日 0 点赞 0 评论 125 浏览 评分:9.9
1480: 模拟计算器(两种解法) 摘要:解题思路:注意事项:参考代码:Scanner sc=new Scanner(System.in); String str = sc.nextLine(); String[] s = str…… 题解列表 2024年04月05日 1 点赞 0 评论 309 浏览 评分:9.9
1480 模拟计算器 初学者一定能懂 摘要:解题思路:用强制转换把ch转换成int类型注意事项:需要理解强制转换的定义,括号里面的是需要转换到的数据类型。e.g #include <stdio.h> int main() …… 题解列表 2024年11月17日 3 点赞 0 评论 354 浏览 评分:9.9
蓝桥杯算法提高VIP-模拟计算器-题解(Python代码)Python没有switch-case怎么办? 摘要:### 继续学习Python 按照题目要求,我们需要使用switch-case语句进行判断,可是Python没有switch怎么办呢?按照官方文档,Python官方推荐if-elif-elif的方式…… 题解列表 2019年11月18日 0 点赞 0 评论 1787 浏览 评分:9.7
蓝桥杯算法提高VIP-模拟计算器-题解(C语言代码) 摘要:题目:使用Switch语句编写一个模拟简单计算器的程序。依次输入两个整数和一个字符,并用空格隔开。如果该字 符是一个“+”,则打印和;如果该字符是一个“-”,则打印差;如果该字符是一个“*”,则打印…… 题解列表 2020年08月06日 0 点赞 2 评论 891 浏览 评分:9.5
蓝桥杯算法提高VIP-模拟计算器-题解(Python代码) 摘要: ```python a,b,c = map(str,input().split())#首先获取到输入的内容 a = int(a)#类型转换 b = int(b) if c =='+': …… 题解列表 2020年03月23日 0 点赞 1 评论 1160 浏览 评分:9.1
蓝桥杯算法提高VIP-模拟计算器-题解(C语言代码)简单直接,易理解 摘要:```c #include int main() { int a,b; char c; scanf("%d %d %c",&a,&b,&c); switch(c) { cas…… 题解列表 2020年08月06日 0 点赞 1 评论 528 浏览 评分:9.0
优质题解 Manchester- 蓝桥杯算法提高VIP-模拟计算器 摘要:解题思路:方法①: switch(choise_F(A)) { case 1:{printf("%d\n\n",x+y);b 题解列表 2018年04月04日 9 点赞 2 评论 4327 浏览 评分:8.2