判断是否为两位数 摘要:解题思路:将输入的整数存在列表中 判断列表长度 就可以得出是否为两位数注意事项:参考代码:while True: try: num = input() num_lis…… 题解列表 2024年02月03日 0 点赞 0 评论 681 浏览 评分:6.0
判断是否为两位数 解题思路:注意事项:参考代码:n=int(input())if10<=n<=99:print(1)else:print(0) 题解列表 2024年03月13日 0 点赞 0 评论 634 浏览 评分:2.0
Java学习小练习 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);intnum=sc.nextInt();if(num<10 题解列表 2024年07月16日 0 点赞 0 评论 501 浏览 评分:0.0
繁花似锦分身乏术列今年初发的风格的放过他过分 摘要:解题思路:无注意事项:无参考代码:g=input()g=int(g)if g>=10 and g<=99: print("1")else: print("0")…… 题解列表 2024年07月16日 0 点赞 0 评论 894 浏览 评分:9.9
判断是否为两位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int x; scanf("%d",&x); if(0<x && x<=1…… 题解列表 2024年08月04日 0 点赞 0 评论 596 浏览 评分:0.0
判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 920 浏览 评分:9.9
2783: 判断是否为两位数(新手解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a>=10&&a<99) { …… 题解列表 2024年10月29日 0 点赞 0 评论 621 浏览 评分:0.0
题解 2783: 判断是否为两位数 摘要:解题思路:if 判断注意事项:条件参考代码: int a; scanf("%d",&a); if(a>10&&a<99) printf("%d",1); else …… 题解列表 2024年11月01日 0 点赞 0 评论 676 浏览 评分:0.0
switch语句的两种写法 摘要:解题思路:注意事项:1. n/100==0,说明n<100,例如101/100==1,99/100==0 ,整数/整数==取整数部分的结果 2.要用break语句跳出循…… 题解列表 2024年11月04日 0 点赞 0 评论 725 浏览 评分:0.0
2783普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if (n >=10 && n<=99) printf("1")…… 题解列表 2024年11月23日 0 点赞 0 评论 665 浏览 评分:0.0