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
A power unit is there by the bank of the river of 750 meters width. A cable is made from power unit to power a plant opposite to that of the river and 1500mts away from the power unit. The cost of the cable below water is Rs. 15/- per meter and cost of cable on the bank is Rs.12/- per meter. Find the total of laying the cable.
Sum of a series of n numbers is n+8. Find second (or second last) no.
find R,M,(..),F,D,(..)
Q1. Given a collection of points P in the plane, a 1-set is a point in P that can be separated from the rest by a line, .i.e the point lies on one side of the line while the others lie on the other side. The number of 1-sets of P is denoted by n1(P). The minimum value of n1(P) over all configurations P of 5 points in the plane in general position(.i.e no three points in P lie on a line) is
Find the next series number : 21, 463, 687, 238, 1134, ----
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
A bus started from bustand at 8.00am, and after staying for 30 minutes at a destination, it returned back to the busstand. The destination is 27 miles from the busstand. The speed of the bus is 18mph. During the return journey bus travels with 50% faster speed.At what time does it return to the busstand?
The cycle has following specifications: The rear derailer is on the 14 tooth gear and the front derailer is on the 52 tooth gear. The rear gear has 14 teeth. The diameter of the rear wheel is 27". If a cyclist pedals at 75 revolutions per minute, then what will be the speed achieved?
What is the smallest number by which 4880 must be divided in order to make it into a perfect square ?
Two trains in the same direction at 50 & 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes him. What is the length of faster train ?
There are coins of Rs.5, 2, 1,50p, 25p, 10p, 5p. each one has got a weight. Rs 5 coin weighs 20gms.find the minimum number of coins to get a total of 196.5gms.
There are 1000 doors that are of the open-close type. When a person opens the door he closes it and then opens the other. When the first person goes he opens-closes the doors ion the multiples of 1 i.e., he opens and closes all the doors. When the second goes he opens and closes the doors 2, 4 6 8 rely. Similarly when the third one goes he does this for 3 6 9 12 15th doors rely. Find number of doors that are open at last.
A pipe can fill a tank in 30 min B can fill in 28 min then if 3/4 th of tank can be filled by B pipe and after wards bothare opened then how much time is required by both the pipes to fill the tank completely. note: the values of A and B may slitely vary be ware.
A company installed 36 punching machines at the begining of the year.In the spring they installed 9 additional m/c's and then discontinued 18 in the fall.How many were still installed at the end of the year?
36:4 :: 9: ?