- 2
How to you randomize salary in Java?
Whats the code to do that?😥
7 Antworten
+ 2
Random salary?
Can you please show your code and explain what you try to do?
+ 2
Just ***describe*** what you want to do – no pdf required.
Look at these examples on how to get random integers:
https://www.tutorialspoint.com/generate-random-integer-numbers-in-java
https://www.geeksforgeeks.org/how-do-i-generate-random-integers-within-a-specific-range-in-java/
Try to google "random integers java"
0
Do you want to sample random integers? Or floats? Or double?
Do the numbers need to be in a certain range?
0
Lisa integers, and i see where i should randomize employee salary too after calculation of over time and extra hours and over time and extra hours should be randomize as well .
0
Thank you
- 1
Lisa its in pdf could i show it to you on zoom?
- 1
Lisa i wish i could show you the question 😥😭