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 18081WHAT 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 37067#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }
12 31232Post New HCL C C++ Errors Interview Questions
What is a binary classification in machine learning?
Explain what is the impact if dns server fails?
How is CRM helpful in sales?
What is split valuation? What are the settings reuired for it?
What is a pass in bubble sort?
Explain ecmascript?
You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?
What is the use of the tag in the web.config file?
What is difference between coding and programming?
I am new at this excel game. How do you figure elapsed time? I have formatted the cells in military time, create a start time column and an end time column andwould like to know the difference?
Where are autotext entries stored?
Which report can you use to monitor change run?
Explain what is tomcat coyote?
how is the connection of a 3 phase ct trivector meter done on a pole mounted transformer
What is state? What is the difference between states and viewstack in flex?