aspose file tools*
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
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: 42927
    
  68
What do you have so far? If you haven't started, what ideas have you had?
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: 42927
    
  68
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