wood burning stoves 2.0*
The moose likes Android and the fly likes checking a condition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "checking a condition " Watch "checking a condition " New topic
Author

checking a condition

amit jasoria
Greenhorn

Joined: Sep 06, 2013
Posts: 2
Hello ! Can anyone help me with this. I need to check the sum of two random number ceated between 1 and 10 , and if the sum is < 10 display it in a activity else regenerate next two random numbers and recheck it. Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41088
    
  43
What do you have so far? If you haven't started, what ideas have you had?


Ping & DNS - my free Android networking tools app
amit jasoria
Greenhorn

Joined: Sep 06, 2013
Posts: 2
Thanks for responding. I simply want to generate two random intigers and display them via Textview if there sum is less then 10 else regenerate the integers
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41088
    
  43
Yes, I understood that from your question. So what are the answers to my questions?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checking a condition
 
Similar Threads
Creating random Unique values
Need Help Understand this.
while loop question
Number Trick
Scope and Parameters in a program