User info | |
---|---|
User name: | Francis Okyere |
Bio: | Write a C++ program using functions that accepts a single integer value entered by the user. If the value entered is less than one, the program prints nothing. If the user enters a positive integer, n, the program prints an nn box drawn with * characters. If the users enters 1, for example, the program prints
* If the user enters a 2, it prints ** ** An entry of three yields *** *** *** and so forth. If the user enters 7, it prints ******* ******* ******* ******* ******* ******* ******* that is, a 7 X 7 box of * symbols. |
History | |
Joined: | |
Number of posts: | 1 |
Latest posts: |