摘要: No qualifying bean of type,没有符合条件的bean类型 阅读全文
posted @ 2022-09-21 14:34 你怎么睡的着的 阅读(12) 评论(0) 推荐(0) 编辑
摘要: /** 请录入10个整数,当输入的数是666的时候,退出程序* 判断其中录入正数的个数并输出* 判断系统的退出状态,是正常退出还是被迫退出* */ int count = 0;//引入一个Boolean类型的变量boolean flag = true;Scanner sc = new Scanner 阅读全文
posted @ 2022-06-27 22:31 你怎么睡的着的 阅读(18) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Demo04 { public static void main(String[] args) { /* * 计算从出生到现在过了多少天 * 1、出生那天,还有那年结束的几个月时间 * 2、出生第二年之后,到今年之前的所有整 阅读全文
posted @ 2022-06-23 19:32 你怎么睡的着的 阅读(615) 评论(0) 推荐(0) 编辑
摘要: .wrap:after{ content:""; display:block; clear:both; } 阅读全文
posted @ 2021-12-25 11:15 你怎么睡的着的 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 再编写输出代码的时候切记要把内容写全 scanf("%d%c%f",&a,&b,&c); printf("你输入的是:a=%d,b=%c,c=%f",a,b,c);尤其是记得引号后面的逗号的变量名 阅读全文
posted @ 2021-11-12 22:29 你怎么睡的着的 阅读(37) 评论(0) 推荐(0) 编辑