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
What is abstraction encapsulation?
What is byval and byref? What are differences between them?
What is encapsulation in oops?
What is the importance of oop?
What is difference between oop and pop?
What is polymorphism explain its types?
how to get the oracle certification? send me the answer
Write a c++ program to display pass and fail for three student using static member function
Can we create object of interface?
What is the real time example of encapsulation?
What is difference between multiple inheritance and multilevel inheritance?
Why is object oriented programming so hard?
State what is encapsulation and friend function?
How to hide the base class functionality in Inheritance?
#include