next up previous
Next: switch Statement Up: Overview of C++ Previous: Nested Loops

Activity

1.
Write a program that is capable of printing the square of an input value. The input value should be greater than 50 and less than 180. The program should give instruction to the user
2.
Write a program that print the squares of the sequence that goes between 4 and 200.
3.
Write a program that can find $\Sigma x$ where x goes from 0 to 100.
4.
How is the use of goto statement different from the do while loop


Yousef Haik
2/23/1998