Return To CS 110 Home

Colour Theme   Font Size Options
 
   
   
   
Exercise 3

Nested Counting Loops Exercise

This is a loop nesting exercise. Use two loops, including at least one for loop, to write a C++ program that prints out an upside down triangle of stars to the screen.

Write a program from scratch

Tips:

When you are done: