Solution for Exercise 9-13

ex0913

#include <stdio.h>

int main()
{
    int x;

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

Notes

* Does the output give you déjà vu? Look at the solution for Exercise 9-1 to see the for loop version of this code.