运行下列程序,输出结果是( )。
#include <iostream>
using namespace std;
int main()
{
int i=1;
int s=1, a=0;
for(i=0;i<3;i++){
s+=i;
a++;
}
cout << s <<','<< i <<','<< a << endl;
return 0;
}
3,3,4
4,4,3
3,4,3
4,3,3