Write a program which display a hollow triangle shape using asterisk character and nested for loop
Output should be look like below image
c++ code:
Sample Output of the program
To increase or decrease the size of triangle change the value of loop variables. It is recommend to change the code and examine the output it will be more helpful.
More C++ Shapes Here
Output should be look like below image
c++ code:
#include<iostream>
|
Sample Output of the program
To increase or decrease the size of triangle change the value of loop variables. It is recommend to change the code and examine the output it will be more helpful.
More C++ Shapes Here
Hi, I am struggling to print a circle with 2 to 3 loops using asteriks...please help
ReplyDeleteVery very nice.... Can do just reverse this pattern??
ReplyDelete