以下程序运行后的输出结果是 ()
#include<stdio.h>
main( )
int a=1,b=2;
while(a<6)b+=a; a+=2; b%=10;
printf("%d, %d/n", a, b);
题库:计算机等级考试
类型:最佳选择题
时间:2017-07-03 14:21:16
免费下载:《单项选择》Word试卷
以下程序运行后的输出结果是 ()
#include<stdio.h>
main( )
int a=1,b=2;
while(a<6)b+=a; a+=2; b%=10;
printf("%d, %d/n", a, b);
A.5,11
B.7,1
C.7,11
D.6,1
本题关键词:输出结果,行为结果,原油输运管道运行,公路运输通行证,行为结果评价,竣工结算程序,行政诉讼程序,结果,交通运输,土方运输;