摘要: #include<stdio.h> #include<math.h> int main(void)//其实void我认为在这可有可无 { double a,b,c,x1,x2;//双精度定义未知数 printf("请输入三个系数a,b,c\n"); scanf("%lf%lf%lf",&a,&b,& 阅读全文
posted @ 2021-07-04 21:39 lifser 阅读(582) 评论(0) 推荐(0)
摘要: Tip:该代码还没有完善 例如:自动检测是否为26个字母中的一个等 #include<stdio.h> #include<ctype.h> int main(void) { char ch; int index; ch=getchar();//读入一个字符存入 ch=tolower(ch);//转换 阅读全文
posted @ 2021-07-04 16:12 lifser 阅读(159) 评论(0) 推荐(0)