• 2022-06-06
    中国大学MOOC: 若下列程序执行后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 ”, s,t); }