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

Trending Topics

Online now

Members online
1,182
Guests online
2,707
Total visitors
3,889

Forum statistics

Threads
2,318,023
Posts
29,193,923
Members
1,180,770
Latest member
noobieeta
Back
Top