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 / devi

#include<iostream.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=4;i++)
{
for(j=1;j<=i;j++)
{
cout<<"*";
}
cout<<"\n";
}
getch();
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ primer good for beginners?

1051


Explain how overloading takes place in c++?

1059


Is c the same as c++?

1023


what does the following statement mean? int (*a)[4]

1088


what is pre-processor in C++?

1180


Is vector a class in c++?

1062


What is the exit function in c++?

999


What is copy constructor? Can we make copy constructor private in c++?

1096


Distinguish between new and malloc and delete and free().

1033


Is python better than c++?

1043


What is the full form of india?

1139


What is virtual base class?

1091


What is the best way to take screenshots of a window with c++ in windows?

1063


Can I learn c++ without c?

1155


Which coding certification is best?

1042