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 18924WHAT 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 41248#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }
12 34202Post New HCL C C++ Errors Interview Questions
How do I perform a clean install of windows 7?
What do you mean by consolidations?
Explain how to reduce interrupt latency?
How is sap transportation management licensed by sap? : transportation management
What are the languages in which Apache Spark create API?
7. Give me an example of a time when you have tried to accomplish something, and failed
how we arrange the hv side with delta connection in case 33/11kv of transformer.
what is the operation involved in tubelight?
Is a contactor (or master relay) required between incoming lines and a VFD? The question goes to safety. If a contactor were used before the VFD and an e-stop engaged then the motor will coast to a stop (i.e. VFD loses power) instead of stopping much faster if the VFD braking fucntion were used. It would make more sense to keep power on the VFD.
What is object service? : Entity framework
What are the applications of the electric motors?
What are the properties you would use for identifying a browser and page when using descriptive programming?
Is lightning component framework an mvc framework ?
How to report calorific values of fuel?
what is practical application of clipper circuit?