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

Why is main function important?

1051


Can we change the basic meaning of an operator in c++?

1072


what do you mean by volatile variable?

982


Why do we use structure in c++?

999


What problems might the following macro bring to the application?

981


What does the ios::ate argument do?

1121


What is string in c++ programming?

1110


What are special characters c++?

972


What is the difference between an array and a list?

977


Const char *p , char const *p What is the difference between the above two?

1154


What is the type of this pointer in c++?

1009


What is c++ array?

1033


How do we balance an AVL Tree in C++?

1087


What is command line arguments in C++? What are its uses? Where we have to use this?

1178


What is the best book for c++ beginners?

979