Java loops

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.

Liked this question? Tell your friends about it

Related Questions

Other people asked questions on similar topics, check out the answers they received:

Asked: Java and IE 9

How do I get Java to work with IE 9? Thanks, Selectshopper

Asked: Do I need Java on my computer? It seems to ...

Do I need Java on my computer? It seems to take up lots of space. Will I do any harm by removing this program? Is it OK to remove the older versions and keep the newer one? Help?

Asked: Java problems

java it seems that my java 6 is not working properly with my dsl.. when trying to open certain programs using java it shuts down my aol software. I have been having this problem for over a month and ...