Computer Science, asked by saikiransaikiran1997, 3 months ago

import java.lang. Math. *;
class Main
{
public static void main(String args[])
{
float rand = Math.random();
System.out.println(5 - rand % 10);
}
}​

Answers

Answered by sarveshnavale
0

greater than 0, less than equal to 5

Similar questions