For loop: Draw a box
#include <stdio.h> void main() { int count = 0; printf("\n**************"); /* box top */ for(count = 1 ; count <= 8 ; ++count) printf("\n* *"); /* box sides */ printf("\n**************\n"); /* bottom of the box */ }