Solution for Exercise 4-13
ex0413
#include <stdio.h>
int main()
{
printf("Hickory, dickory, dock,\n");
printf("The mouse ran up the clock.\n");
printf("The clock struck one,\n");
printf("The mouse ran down,\n");
printf("Hickory, dickory, dock.\n");
return(0);
}
Output
Hickory, dickory, dock,
The mouse ran up the clock.
The clock struck one,
The mouse ran down,
Hickory, dickory, dock.
Notes
* If you wanted to add a blank line between each line of output, specify two newlines at the end of the string, \n\n.
Copyright © 1997-2026 by QPBC.
All rights reserved
