🔒 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
  • 316
    Views
  • 3
    Participants
Last reply from:
Cer Dacs

Trending Topics

Online now

Members online
1,111
Guests online
1,947
Total visitors
3,058

Forum statistics

Threads
2,297,186
Posts
29,112,212
Members
1,203,768
Latest member
tttophe14
Back
Top