Computer Science, asked by midhunchandran1981, 7 months ago

What is the output of the following code?
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 mishrarama647
0

Answer:

rand Math.random();

System.out.println(5 - rand % 10);

}

}

Similar questions