Computer Science, asked by naazpreet13, 1 month ago

WAP in Java to find the random value using math class.​

Answers

Answered by dashrathyadavdr
1

Answer:

use Math.radom you'll get a random decimal value smaller than 1 if you want values in postitive just multiply the number from any number and use explicit type conversion, if you want me to write whole program comment ,I will.

Similar questions