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 program to print
*
* *
* * *

Answer Posted / shani jaiswal

#include <iostream.h>
int main()
{
int a,b,c,d=5,e=1,f=3;
for(c=1;c<=d;c++)
{
for(a=0;a<f;a++)
cout<<" ";
for(b=0;b<e;b++)
cout<<"* ";
cout<<'\n';
d--;
e++;
f--;
}
return 0;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 pillars of oop?

1089


Which language is not a true object oriented programming language?

1062


What is the main feature of oop?

1098


what are the ways in which a constructors can be called?

2045


What is difference between inheritance and polymorphism?

976


What is oops and its features?

1025


What is abstraction in oop?

1085


What is object and example?

1113


Can an interface inherit a class?

1010


What does sksksk mean in text slang?

2053


What is the difference between encapsulation and polymorphism?

1048


What is oops and why we use oops?

991


What does enum stand for?

1061


What is protected in oop?

1010


program for insertion ,deletion,sorting in double link list

2636