单项选择题
若下列程序执行后t的值为4,则执行时输入a,b的值范围是 #include ”stdio.h” main( ) { int a, b, s=1, t=1; scanf (”%d, %d”, &a, &b); if (a>0) s+=1; if (a>b) t+=s; else if(a==b) t=5; else t = 2*s; printf (”s=%d, t=%d/n”, s,t); }
A.h”
点击查看答案&解析
