皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
一个整数称为完全平方数,是指它的值是另一个整数的平方。例如81是个完全平方数,因为它是9的平方。下列程序是在三位的正整数中寻找符合下列条件的整数:它既是完全平方数,且三位数字中又有两位数字相同:例如144(12*12)、676(26*26)等,程序找出并输出所有满足上述条件的三全数。 程序如下: main() { int n,k,a,b,c; for(k=1;;k++) { 【1】 if(n<100) 【2】 ; if(n>999) 【3】 ; a=n/100; b= 【4】 ; c=n%10; if(flag(a,b,c)) printf("n=%d=%d*%d\n",n,k,k); } } flag 【5】 { return(!((x-y)*(x-z)*(y-z))); }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【多选题】为达到 “20 - 20” 目标,西方国家开展的主要工作有( )。
A.
开展低成本高性能铝锂合金研究以及铝基复合材料研究等
B.
用优质铸件制造复杂构件以减轻结构重量和降低制造成本
C.
开展机翼的高温时效成形和高强铝合金的快速超塑成形
D.
开展可焊接铝合金和铝合金焊接技术的研究
【单选题】The _______ classroom is playing a more and more important role during the COVID-19 epidemic.
A.
virtual
B.
traditional
C.
real
D.
genuine
【单选题】A mobile phone is never allowed into the classroom during the school time, ______? [     ]
A.
hasn't it
B.
has it
C.
is it
D.
isn't it
【多选题】What can you bring into the classroom during a closed-book test?
A.
Texbooks and notes.
B.
Water in a clear bottle.
C.
Cellphone or calculator.
D.
Pens.
【多选题】为达到“20-20”目标,西方国家开展的主要工作有
A.
开展机翼的高温时效成形和高强铝合金的快速超塑成形
B.
开展可焊接铝合金和铝合金焊接技术的研究
C.
开展低成本高性能铝锂合金研究以及铝基复合材料研究等
D.
用优质铸件制造复杂构件以减轻结构重量和降低制造成本
【单选题】Why did Charlie sit quietly in the classroom during break?
A.
Because he wanted to save energy(节约能量).
B.
Because it was cold outside.
C.
Because other kids laughed at him.
D.
Because he enjoyed reading in the classroom.
【单选题】In school, is it required that no parents ___ to classroom during class time?
A.
have access
B.
has connection
C.
have contact
D.
has accesd
【简答题】下列程序从名为filea.dat的文本文件中逐个读入字符并显示在屏幕上。请填空。 include <stdio.h> main() { FILE *fp; char ch; fp = fopen(【 】); ch = fgetc(fp); while(!feof(fp)) { putchar(ch); ch=fgetc(fp); } putchar('/n'); fclose(fp); }
【单选题】During the class break, students went out of the classroom to ( ) themselves.
A.
exercise
B.
practice
C.
stretch out
D.
work out
【单选题】汽车发电机 L 接线柱与()相连
A.
充电指示灯
B.
点火开关
C.
蓄电池
D.
搭铁
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题