write a C++ programming using for loop:
*
* *
* * *
* * * *
Answer Posted / amit
void main()
{
int i,j;
for(i=1;i<=4;i++)
{
for(j=1;j<=1;j++)
cout<<"*"
cout<<endl;
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Difference between Abstraction and encapsulation in C++?
Which bit wise operator is suitable for turning off a particular bit in a number?
Can you please explain the difference between using macro and inline functions?
What does count ++ do in c++?
How do pointers work?
What is using namespace std in c++?
What are the various operations performed on stack?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What do you mean by inheritance in c++? Explain its types.
What is boyce codd normal form in c++?
What is a class template in c++?
What is stl containers in c++?
What are the benefits of c++?
Do class method definitions?
what does the following statement mean? int (*a)[4]