Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

simple c++ program for "abcde123ba" convert "ab321edcba"
with out using string

Answer Posted / abdelrhman matter

#include<iostream>
using namespace std;
int main ()
{
cout<<" insert Any number and i will switch it : ";
int num; cin>>num;
do
{
cout<<num%10;
num = num/10;
}while(num>0);

cout<<endl;
return 0;
}

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of structure in c++?

1040


What are c++ stream classes?

1048


Explain this pointer?

1069


Is eclipse good for c++?

1056


What is the difference between a baller and a reference in C++?

1124


How would you call C functions from C++ and vice versa?

1174


What is the best c++ ide?

1178


What is the rule of three?

1003


What is the function to call to turn an ascii string into a long?

1067


What do you mean by function pointer?

1115


Why do we use templates?

1059


Is overriding possible in c++?

1018


Where are setjmp and longjmp used in c++?

1124


What do you mean by enumerated data type?

1051


Which is better turbo c++ or dev c++?

1080