Answer:
120 rows of 50 stars will work. (It might be stretching things a bit to call this a Virtual Reality program.)
Virtual Reality
You have reached the end of the chapter. A star student will review the following.
- Adding up even and odd integers.
-
A nested
ifstatement. - Definition of N factorial.
- Flowchart for computing N!
- Factorial program.
- Overflow.
- The problem of the falling brick.
- Falling Brick program.
- Rows of Stars program.
The next chapter discusses more about loops.