通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序:
#include <stdio.h> main() { int a=1,b=2; while(a<6) { b+=a; a+=2; b%=10; } printf("%d,%d\n",a,b); }
程序运行后的输出结果是()。