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 the events occur in intr activated on interrupt vector table
What is pointer to array in c++?
Is string data type in c++?
What is a map in c++?
What is a string example?
Explain deep copy and a shallow copy?
Is c++ built on c?
which of the following is not an secondary constant a) array b) real c) union
What is difference between n and endl in c++?
Can c++ be faster than c?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What is helper in c++?
How many ways can a variable be initialized into in C++?
What is searching? Explain linear and binary search.
What is purpose of abstract class?