Java – Random
import java.util.Random;
public class randoms {
public static void main(String[] args) {
Random dice = new Random();
int a;
for(int i = 0;i<10;i++)
{
a=dice.nextInt(6);
System.out.println(a);
}
}
}
<?php // Start the session session_start(); ?> <!DOCTYPE html> <html> <head> <link rel=&q...
No comments:
Post a Comment