Solution for Exercise 11-2
ex1102
#include <stdio.h> int main() { int x; x=0; while(x<10) { puts("Get off my lawn you kids!"); x++; } return(0); }
Notes
* I'm guessing that you did the while example second, mostly because I illustrate a for loop in the text as an example.
* The increment operator appears at Line 11.
Copyright © 1997-2024 by QPBC.
All rights reserved