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 the difference between 123 and 0123 in c?
What is %d used for?
write a program for the normal snake games find in most of the mobiles.
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the difference between a free-standing and a hosted environment?
write a program to display all prime numbers
Can a pointer be volatile in c?
Why doesnt this code work?
What is the difference between typedef and #define?
What is structure packing in c?
What are the types of operators in c?
What are types of functions?
what are the different storage classes in c?
What does static variable mean in c?
Which is best book for data structures in c?