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

hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1949


What are different oops concepts?

1057


What is oops and why we use oops?

1036


What is abstraction in oops?

1042


What is persistence in oop?

1139


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2191


Can a destructor be called directly?

1068


What is a class and object?

1048


What is polymorphism explain its types?

1154


Prepare me a program for the animation of train

2472


What is polymorphism and why is it important?

1040


What is byval and byref? What are differences between them?

2210


What are functions in oop?

1050


Advantage and disadvantage of routing in telecom sector

1302


What is constructor overloading in oop?

1132