java loops
Diana is playing a game with two dice. One die has m sides labelled 1, 2, 3, ... to m. The other die has n sides labelled 1, 2, 3, ...,n. Write a program to determine how many ways can she roll the dice to get the sum 10.
Got an answer for llzj? Would you like to comment on the posted answers, or vote for the one which you think is the best?
Sign up for a free account, or sign in (if you're already a member).
Other people asked questions on similar topics, check out the answers they received: