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
What is meant by type specifiers?
What are the loops in c?
What is variable and explain rules to declare variable in c?
Explain why can’t constant values be used to define an array’s initial size?
How many types of operators are there in c?
Explain what is the difference between the expression '++a' and 'a++'?
What is the function of volatile in c language?
What is sizeof int in c?
How can I access an I o board directly?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What are the 32 keywords in c?
Are local variables initialized to zero by default in c?
What does s c mean in text?
Explain a file operation in C with an example.
Can you add pointers together? Why would you?