write a C++ programming using for loop:
*
* *
* * *
* * * *
Answer Posted / ashutosh garg
for(i=1 i<=5; i++){
for(j=1;j<=i;j++){
cout("*");
}//inner-for
cout("\n");
}//outer-for
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
What are files in c++?
What does obj stand for?
Which of the following is evaluated first: a) && b) || c) !
Which operator cannot overload?
Will rust take over c++?
What's c++ used for?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What is conditions when using boolean operators?
Differentiate between realloc() and free().
What is the purpose of the "delete" operator?
Write about an iterator class?
What are references in c++?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
Can a program run without main in c++?
What is the difference between a pointer and a link in c ++?