用jaca进行的尝试 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args){ S…… 题解列表 2023年07月28日 0 点赞 0 评论 290 浏览 评分:9.9
编写题解 2780: 奇偶数判断 摘要:解题思路:1、创建变量n2、输入n {是——输出even3、判断n是不是偶数 &nbs 题解列表 2023年07月14日 0 点赞 0 评论 439 浏览 评分:9.9
2780: 奇偶数判断 摘要:解题思路: 没啥,用if+取余运算就行参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n ; cin>>n …… 题解列表 2023年07月11日 0 点赞 0 评论 438 浏览 评分:9.9
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:a=int(input())b=a%2if b==0: print("even")else : print("odd")…… 题解列表 2024年07月23日 0 点赞 0 评论 487 浏览 评分:9.9
if语句菜鸟驿站写法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n%2==0){ printf("even"); }…… 题解列表 2024年11月01日 0 点赞 0 评论 382 浏览 评分:9.9
题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) { printf("even\n"); }…… 题解列表 2023年04月29日 0 点赞 1 评论 652 浏览 评分:9.9
三目运算符 摘要:解题思路:简单三目运算符注意事项:参考代码:#include<stdio.h> int main() { int n; char *e[1]; scanf…… 题解列表 2023年03月24日 0 点赞 0 评论 339 浏览 评分:9.9
编写题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a%…… 题解列表 2024年12月01日 0 点赞 0 评论 747 浏览 评分:9.9
2780: 奇偶数判断(这道题发题解纯粹觉得好玩!) 摘要:```c #include int main() { int n; scanf("%d",&n); if(n%2==0) { printf("even"); } e…… 题解列表 2022年12月29日 0 点赞 1 评论 625 浏览 评分:9.9
2780: 奇偶数判断 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2022年12月17日 0 点赞 0 评论 441 浏览 评分:9.9