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...

to remove the repeated numbers from the given .
i.e..,
if the input is 12233
output should of
123

Answer Posted / qapoo

int main()
{
int a[5]={1,2,2,3,3};
for(int i=0;i<5;i++)
{
if(a[i]<a[i+1])
cout<<a[i];
}
return 0;
}

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use encapsulation in oops?

1051


What is polymorphism oop?

1072


What is static modifier?

1242


Which language is pure oop?

1027


Give two or more real cenario of virtual function and vertual object

2338


Which type does string inherit from?

1121


what type of questions

2139


What is and I oop mean?

1219


What is the problem with multiple inheritance?

1181


what is difference between class template and template class?

2673


How do you define social class?

1085


What is difference between data abstraction and encapsulation?

1097


What is encapsulation in oop?

1072


What is advantage of inheritance?

1185


What is pure oop?

1122