Mindtree Company Programming Basics

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. You can write program in c.

Read Solution (Total 8)

Mindtree Other Question

The number of sequence in which 7 players can throw a ball so that the youngest player may not be the last one.