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

Why is c++ a mid-level programming language?

1024


Define the operators that can be used with a pointer.

1029


What are the types of pointer?

1081


What is the use of turbo c++?

1042


Write a function that swaps the values of two integers, using int* as the argument type?

1019


Is it possible to provide default values while overloading a binary operator?

1252


How do we balance an AVL Tree in C++?

1120


Why is c++ awesome?

1022


What is pure virtual function? Or what is abstract class?

1042


Differentiate between a template class and class template in c++?

1084


What is the difference between equal to (==) and assignment operator (=)?

1056


What is a class template in c++?

1039


Comment on assignment operator in c++.

1099


What is a local variable?

1070


What is the fastest c++ compiler?

1092