|
[讨论]DEV C++中初学者编程 共同学习者顶起来
#include "stdio.h" main() { int x,y,i; {for(x=1;x<=9;x++) { for(y=1;y<=9;y++) printf("%d x %d = %d",x y i ) } printf("\n") } getcher(); } |
|
[讨论]DEV C++中初学者编程 共同学习者顶起来
好久 都没来了 看看 |
|
|
|
[求助]求1 3 5 前20项之和
谢谢大家 的 支持 哦啦 |
|
[讨论]DEV C++中初学者编程 共同学习者顶起来
多多 支持老师 加油 |
|
|
|
|
|
|
|
[讨论]DEV C++中初学者编程 共同学习者顶起来
#include "stdio.h" #include "math.h" main() { float a,b,c,x1,x2,i; /* 设定变量 */ scanf("%f%f%f",&a,&b,&c); /* 输入系数 */ i=pow(b,2)-4*a*c; /* 计算判别式的值 */ if(i>0) /* 分支 */ x1=(-b+sqrt(i))/(2*a),x2=(-b-sqrt(i))/(2*a); /* 此处很多同学少写了括号 */ else if(i==0) /* 注意写语句时分级 */ x1=-b/(2*a),x2=x1; else printf("No Pass"); fflush(stdin); getchar(); printf("\n%f\n%f",x1,x2); getchar(); } 老师也有出错哦 |
|
[讨论]DEV C++中初学者编程 共同学习者顶起来
icon17 icon17 老师的 非常棒 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值