Solution for Exercise 9-2
ex0902
#include <stdio.h> int main() { int x; for(x=0; x<20; x=x+1) { puts("Sore shoulder surgery"); } return(0); }
Notes
* Even without yet knowing how a for loop works, you recognize that the center value inside the for statement has something to do with how many times the statement repeats.
Copyright © 1997-2024 by QPBC.
All rights reserved