• Answers
  • Web

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.


Share Send to a friend Watch Report
 
 

Posted Answers

No answers were posted yet - be the first one to answer!

Sign in to participate

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).

Explore Related Questions

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


Q:

What is this and how to make java work?

what is this and how to make java work?
Submitted by jamy9h   5 months ago.
  • viewed 317 times
Last answer posted 5 months ago by jamy9h


Q:

How to import java package into visual studio 2005

how to import java package into my visual studio 2005 console project? Or I may ask Why the error 'cannot find type 'java.awt ...
Submitted by MichelleBong   1 year ago.
  • viewed 598 times
Last answer posted 1 year ago by Eran


Q:

Java install problems

after playing online games from pogo it now says i need to install java plug play.when i try it says the insalatoin package could ...
Submitted by oinky645   2 years ago.
  • viewed 853 times
Last answer posted 2 years ago by Bankrbabs



» More...

Explore Related Posts in Forums

Are there any good, lightweight open source Java CMSs? : java

Know about any such thing? Failing a proper CMS, a simple blog engine in Java would do. Something like Wordpress, say, only in Java. Anyone?noLet me search that for you: http://sourceforge.net/search

Sun Unveils Java Applications Store : java

Not for Sun. java java java java. What's next. The C store for all the applications written... about the Ruby store of the Python-mart?Well, Java is a platform not just a programming language. Just

Sun CEO Jonathan Schwartz: Will Java Platform Create The World's Largest ...

He's had years to try! It's a bit late now!The only thing "Java" will have to do with the World in Java now and it is way too painful in comparison to anything else, including the other languages
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License