Solution for Exercise 9-1

ex0901

#include <stdio.h>

int main()
{
    int x;

    for(x=0; x<10; x=x+1)
    {
        puts("Sore shoulder surgery");
    }
    return(0);
}

Output

Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery
Sore shoulder surgery

Notes

* I came up with the phrase "Sore shoulder surgery" because someone I know had shoulder surgery and it took me three times before I could say it properly.