使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 练习进度 0 / 0
随机练习 自定义设置练习量
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
#include
main() {
int a=100;
if(a>100) printf("%d\n", a>100);
else printf("%d\n", a<=100);
}
char ch;
ch=getchar();
switch(ch)
{
case 'A':printf("%c",'A');
case 'B':printf("%c",'B');break;
default:printf("%s\n","other");
} } 当从键盘输入字母A时,输出结果为: 。
main()
{ int a,b,c,i;
a=c=0;
for(i=0; i<=10; i+=2)
{ a+=i;
【1】 ;
c+=b;
printf("偶数之和=%d\n奇数之和=%d\n",a, 【2】 );
void main()
{ float x,max,min;
scanf("%f",&x);
max=min= 【1】 ;
do{ if(x>max) max=x;
if(x<min) 【2】 ;
} while( 【3】 );
printf("%f,%f",max,min);
voi
stati
(含图)
include<stdio.h>
int x,y;
one()
{ int a,b;
a=25,b=10;
x=a-b;y=a+b;
a=9,b=5;
x=a+b;y=a-b;
one();
printf("%d,%d\n",x,y):
if(a>b) a=b;
if(b>c) b=c;
else c=b; c=a;
int a=3;
a+=(a<1)?a:1;
printf(“%d”,a);
#include<stdio.h>
int m=5;
switch(m/2)
case 1: m++;
case 2: m+=3;
case 5: m+=6;break;
default: m-=7;
printf("%d\n",m);
char x='B';
switch(x)
case 'A':printf("ItisA.");
case 'B':printf("ItisB.");
case 'C':printf("ItisC.");
default:printf("other.");
运行结果为:_________
int main(void)
int a = 2, b = -1, c = 2;
if(a < b)
if(b < 0)
c = 0;
else
c++;
printf("%d\n",c);
return 0;