Write a for loop that prints in ascending order all the positive integers less than 200 that are divisible by both 2 and 3, separated by spaces. I was told my _stdout is wrong and it's at execution. I have:
for (i=0; i<200; i++)
if(i%2==0 && i%3==0)
I'm working with myprogramminglab, everything is provided and I have to finish with this but I think something is wrong with my ending.