欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

若下列程序执行后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”
点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题