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
Why do we use encapsulation in oops?
What is polymorphism oop?
What is static modifier?
Which language is pure oop?
Give two or more real cenario of virtual function and vertual object
Which type does string inherit from?
what type of questions
What is and I oop mean?
What is the problem with multiple inheritance?
what is difference between class template and template class?
How do you define social class?
What is difference between data abstraction and encapsulation?
What is encapsulation in oop?
What is advantage of inheritance?
What is pure oop?