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

A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3677


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

1044


What is a wchar_t in c++?

1148


what is c++

2390


Can we sort map in c++?

1017


Where and why do I have to put the "template" and "typename" keywords?

1049


What is a catch statement?

1053


What is scope operator in c++?

1085


What's the best free c++ profiler for windows?

1088


What is the outcome of cout< a) 16 b) 17 c) 16.5

1020


Is c++ a dying language?

1154


What is the basic structure of c++ program?

1102


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

1211


What do you mean by vtable and vptr in c++?

1043


How does class accomplish data hiding in c++?

1184