Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What's the most powerful programming language?

1009


What does catch(…) mean?

1087


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1086


What is class and structure in c++?

1121


What is lambda expression c++?

1026


What is extern c++?

975


Are there any special rules about inlining?

1040


Write a program in C++ for Fibonacci series

1163


Write syntax to define friend functions in C++.

1037


Differentiate between late binding and early binding. What are the advantages of early binding?

999


Describe private, protected and public – the differences and give examples.

1146


Describe the advantages of operator overloading?

1008


What are the five basic elements of a c++ program?

1075


Explain the static storage classes in c++.

1224


Is set c++?

969