🔒 Closed Mga lods baka pede patulong sa java

Status
Not open for further replies.
import java.util.Random; Random rand = new Random(); // Obtain a number between [0 - 49]. int n = rand.nextInt(50); // Add 1 to the result to get a number from the required range // (i.e., [1 - 50]). n += 1;
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 323
    Views
  • 3
    Participants
Last reply from:
Cer Dacs

Online now

Members online
760
Guests online
3,345
Total visitors
4,105

Forum statistics

Threads
2,331,569
Posts
29,259,001
Members
1,147,703
Latest member
kskskwwwy
Back
Top