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
0
Answer:
rand Math.random();
System.out.println(5 - rand % 10);
}
}
Similar questions