write a program to print a random number between 20 and 40 in Java
Answers
Answered by
2
Answer:
class java
{
p s v m(Sring [] args)
{
S.O.PLN("Random Number Between 20 and 40="+(int)((Math.random()*40)+1));
}
PLZ MARK AS BRAINLIEST
}
Similar questions
Computer Science,
6 months ago
English,
6 months ago
Math,
11 months ago
English,
11 months ago
Math,
1 year ago