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
What is lambda in c++?
What is increment operator in c++?
You run a shell on unix system. How would you tell which shell are you running?
Write a program to find the Factorial of a number
What is a singleton class c++?
How to declaring variables in c++?
What is microsoft c++ redistributable 2013?
What do you know about near, far and huge pointer?
What is #include cmath?
Explain virtual destructor?
What is switch case in c++ syntax?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
Which is the best c++ compiler for beginners?
What is polymorphism and its type in c++?
What is the use of cmath in c++?