Computer Science, asked by yr11, 11 months ago

write a program to print a random number between 20 and 40 in Java​

Answers

Answered by jas773
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