/* * Project3 * Chapter7 * By John Stile * Purpose: Modify the program forloop5.c so it's output looks like the following: * * Mm * MmNn * MmNnOo * MmNnOoPp * MmNnOoPpQq */ #include // include functions in stdio.h when compiling #define NUM 5 // Set macro NUM to be replaced by 13 #define SPACES " " // Two spaces inside double quotes #define CHARS "!!" // Two exclamination points inside double quotes int main(void) { int ii,jj; for(ii=0; ii<= NUM; ii=(ii+1) ) // Loop through 13 letters of the aphabet { for(jj=NUM; jj>ii; jj=jj-1) // We want to create spaces // Each iteration adds one more space // stop when we reach 13 { printf("%s", SPACES); // print a space } for(jj=0; jj