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
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.
What are different oops concepts?
What is oops and why we use oops?
What is abstraction in oops?
What is persistence in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Can a destructor be called directly?
What is a class and object?
What is polymorphism explain its types?
Prepare me a program for the animation of train
What is polymorphism and why is it important?
What is byval and byref? What are differences between them?
What are functions in oop?
Advantage and disadvantage of routing in telecom sector
What is constructor overloading in oop?