
Patrick B. answered 04/23/20
Tutor
4.7
(31)
Math and computer tutor/teacher
One statement per line... indent each nested block 3 spaces....
the output is 1 1 2 2 3 3
#include<stdio.h>
int main()
{
int i, j;
for (i = 1, j = 1; i<=3,j<=3; i++,j++)
{
printf("%d %d ",i, j);
}
return 0;
}