Write a program to print this triangle:
*
**
*
****
*
******
*
********
*
**********
Don't use printf statements;use two nested loops instead.
you will have to use braces around the body of the outer
loop if it contains multiple statements.

Answer Posted / yk humble

5 cls
10 rem to print triangle

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why & is used in c?

717


What is difference between scanf and gets?

616


What is #include conio h?

598


What is switch in c?

650


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

1718






Why does everyone say not to use gets?

612


Do variables need to be initialized?

623


Explain about the functions strcat() and strcmp()?

601


why wipro wase

1833


c language interview questions & answer

1465


Write a program to print "hello world" without using a semicolon?

600


What is uint8 in c?

648


What does void main () mean?

738


What is FIFO?

678


How can you increase the size of a dynamically allocated array?

647