判断是否为两位数 摘要:解题思路:将输入的整数存在列表中 判断列表长度 就可以得出是否为两位数注意事项:参考代码:while True: try: num = input() num_lis…… 题解列表 2024年02月03日 0 点赞 0 评论 739 浏览 评分:6.0
2783: 判断是否为两位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; if(n/100%10==0&&…… 题解列表 2023年01月12日 0 点赞 0 评论 762 浏览 评分:8.0
2783: 判断是否为两位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a>=10&&a<=99){ …… 题解列表 2022年10月16日 0 点赞 0 评论 897 浏览 评分:9.2
繁花似锦分身乏术列今年初发的风格的放过他过分 摘要:解题思路:无注意事项:无参考代码:g=input()g=int(g)if g>=10 and g<=99: print("1")else: print("0")…… 题解列表 2024年07月16日 0 点赞 0 评论 940 浏览 评分:9.9
Ikaros-判断是否为两位数 C++解决 摘要:解题思路:输入字符串,然后用strlen计算长度,比较即可参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; char…… 题解列表 2022年12月14日 0 点赞 0 评论 955 浏览 评分:9.9
有错误请指出 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int a;scanf("%d",&a);if(a/10==0){ printf("0");}else{ pri…… 题解列表 2022年12月18日 0 点赞 2 评论 1079 浏览 评分:9.9
判断是否为两位数(两种做法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; gets(a); int m…… 题解列表 2022年12月25日 0 点赞 0 评论 730 浏览 评分:9.9
判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 1024 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2024年01月05日 0 点赞 0 评论 694 浏览 评分:9.9
编写题解 2783: 判断是否为两位数 解题思路:首先通过Scanner类获取用户输入的正整数,然后判断该数是否大于等于10且小于等于99,如果是,输出1,否则输出0。注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Sc 题解列表 2023年04月14日 0 点赞 0 评论 1000 浏览 评分:9.9