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 graphics
What is inheritance write a program to show use of inheritance?
What is abstraction in oop?
What is multilevel inheritance?
What is difference between inheritance and polymorphism?
What is use of overloading?
What do you mean by Encapsulation?
What is advantage of inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000
What is balance factor?
What is difference between pop and oop?
How do you define a class in oop?
What are the benefits of oop?
What does I oop mean?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout<