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...

int a=4857 i need output as 7584.without using any inbuild
function?

Answer Posted / mogal

a = 4857

Do while ( a>0 )
num = a mod 10
a = a / 10
output = output & num
loop
print output

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are class variables?

993


Mention what are the rules to name variable in vbscript?

971


Mention what is vbscript procedures?

944


Mention what is variant in vbscript?

908


Explain about .wsf files?

1071


How to Import data from a file (file is on the desktop) to the data table

1956


In html file what is an ideal position to include vbscript?

1369


What is the difference between function and procedure?

1150


Mention what is the difference between vbscript and vba?

988


How will you get the octal value of the given number in vbscript?

920


Mention what is the technology used by vb script?

928


Which constant is used for print and display functions and works as same as pressing enter key?

955


What is loose binding? Why is it not a good practice to use it?

1055


What is the scope of a constant declared using public?

927


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2291