Computer Science, asked by ganeshshelke1404, 1 year ago

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

Answers

Answered by imchandansethi
17

Explanation:

greater than 0, less than equal to 5

Similar questions