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

what type of questions

2076


Can a destructor be called directly?

1034


What are the 5 oop principles?

1084


What is the main purpose of inheritance law?

1158


What are oops methods?

956


What is abstraction in oops?

999


What is destructor give example?

1023


What is class encapsulation?

1043


Where You Can Use Interface in your Project

1852


What is meant by multiple inheritance?

1201


Why do pointers exist?

1057


What is advantage of inheritance?

1145


How long to learn object oriented programming?

1040


What is polymorphism and why is it important?

1004


Are polymorphisms mutations?

1117