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 is time h in c++?
What is microsoft c++ redistributable 2013?
Mention the storage classes in c++.
Why is polymorphism useful?
Why c++ is the best language?
Explain virtual class and friend class.
What is the sequence of destruction of local objects?
What is the difference between a type-specific template friend class and a general template friend class?
What is a modifier in c++?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
What is private, public and protected inheritance?
What is the difference between an enumeration and a set of pre-processor # defines?
Is c++ free?
Is c++ low level?
Explain the uses of static class data?