Explain the logic
k=num%10;
sum=sum+k;
num=num/10;

Answer Posted / cathie

reverse of a number

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Argentina had football team of 22 player of which captain is from Brazilian team and goalki from European team. For remaining player they have picked 6 from Argentinian and 14 from European. Now for a team of 11 they must have goalki and captain so out of 9 now they plan to select 3 from Argentinian and 6 from European. Find out no. of methods available for it

834


Ajay can build a house in 16 days and Barry can do the same job in 12 days. With help of Chintu, they did the job in 4 days only. How many days Chintu can do the job?

965


A finish the work in 10 days. B is 60% efficient than A. So hoW days does B take to finish the work?

639


If Ever + Since = Darwin then D + a + r + w + i + n is ?

3170


A job may be completed in 12 days, working for 8 hours a day if 20 men or 24 women or 40 boys perform the task. If a task four times as big as this is done for 5 hours a day for 12 days, how many men will be required to join 6 women and 2 boys to complete the task?

837






Find the hypotaneous of a right angle isoceles triangle whose area is 50.

790


f(X)= 2X-1 + f(X-1) if X is not equal to zeroandiff(X=0)=0, If f(X)= f(X-1)+f(X-2) for X>1 then X= ?

764


In a 10 digit number, if the 1st digit number is the number of ones,2nd digit number is the number of twos, and ... so on. 10th digit is the number of zeroes,then find the number

733


A coffee shop blends 2 kinds of coffee,putting in 2 parts of a 33p. a gm. grade to 1 part of a 24p. a gm.If the mixture is changed to 1 part of the 33p. a gm. to 2 parts of the less expensive grade,how much will the shop save in blending 100 gms.

978


500 men are arranged in an array of 10 rows and 50 columns according to their heights. Tallest among each row of all are asked to fall out. And the shortest among them is A. Similarly after resuming that to their original podsitions that the shortest among each column are asked to fall out. And the tallest among them is B . Now who is taller among A and B ?

759


I need Matrix and Series questions with solutions.

1779


Bactria double every 3 mins. It is N in 1 hour, when was it N/4?

796


2 oranges,3 bananas and 4 apples cost Rs.15 . 3 ornages 2 bananas 1 apple costs Rs 10. what is the cost of 3 oranges, 3 bananas and 3 apples

801


M, N, O are jogging in the same direction around a circular track. The track is marked with numbers from 1 to 12, like the dial of a watch. The 12 numbers are uniformly spaced on the track. M overtakes N once at 5 and then the next time again at 9. M overtakes O once at 2 and then the next time again at 4. Find the ratio of N's speed to O's speed?

729


a student is ranked 13th from right and 8th from left.how many are there(similar)

677