yes i used the math.floor as jake recommended and it worked great
i have a question about checking the inputted from user
i want it to check if the user input a integer set in a range, and not...
Type: Posts; User: jmd
yes i used the math.floor as jake recommended and it worked great
i have a question about checking the inputted from user
i want it to check if the user input a integer set in a range, and not...
i did the math library approach since its more efficient thx though
i executed many times and all of them came back the same
how would i define the Random class object outside of the method as a class variable?
here was my original example code
import java.util.Random;
// The "SimpleRandom" class.
public class SimpleRandom
{
public static void main (String[] args)
i posted a reply with sample and ss but need mod confirm
not sure why but i'm using Ready to Program v1.7.1
i will give this a try thanks
they return the same set of numbers for both addsumnumber1 and addsumnumber2, how can i make the method to return 2 different value for each?
hi java programmers,
i have a simple question about my math game,
i need to randomize 2 numbers using 1 method
this is the method i have to randomize the number from 0-20
public static...