## Invitation to Computer Science 8th Edition

Get a value for x While x $\ne$ 999 do $\ \ \ \ \ \$ Set the value of a to $x^{2}$ $\ \ \ \ \ \$ Set the value of b to $sin(x)$ $\ \ \ \ \ \$ Set the value of c to $1/x$ $\ \ \ \ \ \$ Print the values of a, b, and c $\ \ \ \ \ \$ Get a value for x End of the loop Stop
Get a value for x While x $\ne$ 999 do $\ \ \ \ \ \$ Set the value of a to $x^{2}$ $\ \ \ \ \ \$ Set the value of b to $sin(x)$ $\ \ \ \ \ \$ Set the value of c to $1/x$ $\ \ \ \ \ \$ Print the values of a, b, and c $\ \ \ \ \ \$ Get a value for x End of the loop Stop