编写题解 1073: 弟弟的作业 摘要:#include<iostream>using namespace std;int main(){ string st;int a=0,b=0,c=0;bool k=false,f=false;…… 题解列表 2022年07月31日 0 点赞 0 评论 390 浏览 评分:9.9
弟弟的作业 摘要:```c #include int main() { int a,b,c,k,count=0; char x; while(~(k=scanf("%d%c%d=%d…… 题解列表 2022年08月17日 0 点赞 0 评论 630 浏览 评分:9.9
弟弟的作业(水题) 摘要:```c #include int main(){ int a,b,i,cnt=0,sum; char ch,s[10]; while(scanf("%d%c%d=%s",&a,…… 题解列表 2023年01月11日 0 点赞 0 评论 429 浏览 评分:9.9
弟弟的作业-题解(C++代码)简单正确的解 摘要:本题关键在于scanf函数的返回值scanf()函数返回值分为3种:(1)返回正整数。表示正确输入参数的个数。(2)返回整数0。表示用户的输入不匹配,无法正确输入任何值。(3)返回-1。表示输入流已经…… 题解列表 2023年03月12日 0 点赞 0 评论 321 浏览 评分:9.9
弟弟的作业 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Dome04 { public static void main(Stri…… 题解列表 2023年04月10日 0 点赞 0 评论 472 浏览 评分:9.9
弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c=10; int sum=0; int a=0,b=0,d=0,t,k=0,i=0…… 题解列表 2023年04月29日 0 点赞 0 评论 286 浏览 评分:9.9
弟弟的作业 摘要:解题思路:利用scanf的返回值来结果。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,k; char op; int sum=0;…… 题解列表 2023年05月10日 0 点赞 0 评论 321 浏览 评分:9.9
优质题解只有stdio.h 摘要:解题思路:注意事项:参考代码:#includeint main() { char equation[10]; int correct = 0; while (scanf("%s", …… 题解列表 2023年11月07日 0 点赞 0 评论 319 浏览 评分:9.9
C++简单粗暴解决弟弟作业问题 摘要:解题思路:直接将计算表达式当作字符串输入,读取出a,b,c的值。判断即可。在字符串中a的分界是+或者-;使用string中的find_first_of函数,找到第一个出现+、-的位置string各个函…… 题解列表 2024年03月16日 0 点赞 0 评论 354 浏览 评分:9.9
1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> # using namespace std; int main() { int a,…… 题解列表 2024年05月17日 1 点赞 0 评论 366 浏览 评分:9.9