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
Why static variable is used in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Can the curly brackets { } be used to enclose a single line of code?
What is malloc return c?
What is the purpose of 'register' keyword in c language?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
When is a null pointer used?
What is memory leak in c?
Is file a keyword in c?
Give me the code of in-order recursive and non-recursive.
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Explain why C language is procedural?
What do you mean by command line argument?