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
Why is c++ a mid-level programming language?
Define the operators that can be used with a pointer.
What are the types of pointer?
What is the use of turbo c++?
Write a function that swaps the values of two integers, using int* as the argument type?
Is it possible to provide default values while overloading a binary operator?
How do we balance an AVL Tree in C++?
Why is c++ awesome?
What is pure virtual function? Or what is abstract class?
Differentiate between a template class and class template in c++?
What is the difference between equal to (==) and assignment operator (=)?
What is a class template in c++?
Comment on assignment operator in c++.
What is a local variable?
What is the fastest c++ compiler?