PROGRAMMING:Pseudo random number
A random class is provided in the Java. Util package. We can create a new random object to generate random numbers. It can generate random integers, random floats, random double and random long. Random objects are constructed in two ways: seeded and seedless. The method without seed will return random numbers, and the results will be different each time. No matter how many times the program runs, random objects built with seed will return the same result.
Write a program to build a random object in the first way, and complete the following input and output requirements.
###Input format:
Enter three positive integers n, m, K no more than 10000 in one line.
###Output format:
In one line, output the pseudo-random number between the nth 0 and M-1 generated by random object with K as seed.
###Input example:
```in
10 100 1000
```
###Output example:
```out
fifty
```
answer:If there is no answer, please comment
Write a program to build a random object in the first way, and complete the following input and output requirements.
###Input format:
Enter three positive integers n, m, K no more than 10000 in one line.
###Output format:
In one line, output the pseudo-random number between the nth 0 and M-1 generated by random object with K as seed.
###Input example:
```in
10 100 1000
```
###Output example:
```out
fifty
```
answer:If there is no answer, please comment