This is Discussion thread about Print reverse
Discussion About Print reverse
#include
using namespace std;
int main()
{
int N,sum=0;
cin>>N;
while(N!=0)
{
N=N%10;
sum=sum*10+N;
N=N/10;
}
cout<<sum;
}
what is the erroe sir
This is Discussion thread about Print reverse
#include
using namespace std;
int main()
{
int N,sum=0;
cin>>N;
while(N!=0)
{
N=N%10;
sum=sum*10+N;
N=N/10;
}
cout<<sum;
}
what is the erroe sir