Assume that the int variables i and j have been declared, and that n has been declared and initialized. Write code that causes a "triangle" of asterisks of size n to be output to the screen. Specifically, n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consistings of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be * ** *** You should not output any space characters. Hint: Use a for loop nested inside another for loop.
2 19055WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }
25 41876#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }
12 34603Post New HCL C C++ Errors Interview Questions
How do I change the color of visual studio?
plzz send in detail with answers of rrb section engineers model paper to my mail id sir.
How do I print table lines in word 2010?
What is the use of egrep command in unix?
What is workflow manager?
Explain the observations between vb.net and vc#.net?
List the comparison between FC and FCOE?
What is the different architecture between SAP 4.7EE & ECC5.0
How to Write a UDP Datagram Client?
Suppose Aap 12th class mai padte ho.aap hamen ye batao aapko apne ghar ke sadasya ko kaise kahin le jayenge jaise shoping.give me answer plz
What documents will you need to create a test case?
What are some of the proprietary methods to connect to the cloud, offered by some companies?
What is the significance of sender & receiver cost elements & cost centers?
What is the latest version of android?
What is database in a computer?