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

Trending Topics

Online now

Members online
1,150
Guests online
10,546
Total visitors
11,696

Forum statistics

Threads
2,357,564
Posts
29,397,574
Members
1,071,218
Latest member
Tsunayoshi20
Back
Top