How do you write a c program to print the pattern 1 1 0 1 1 0 1 1 0 1?

1 answer

Answer

1106624

2026-09-07 19:31

+ Follow

for (int i=0; i<3; ++i) printf ("1 1 0 ");

printf("1\n");

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.