Java Programming and Technical Programming Arrays

21. you have three dice each side is numbered as 1,2,3,4,5,6 .you have to take a
number from user check that number as sum of any side number of these
three dice.like we take number as 5 then the possibility are (1,1,3) (1,2,2)
(1,3,1) (2,1,2) (2,2,1) (3,1,1) and is 6 possibility. So write to a program for that.

Read Solution (Total 1)

Java Other Question

Find the nearest perfect square of the given number.
Sample input:600
Sample output:576.

Sample input:47011
Sample output:47089
There was an addition given as follows
SATURN + URANUS = PLANETS
the solution is not encoding the entire problem but to find coding for 3 alphabets