- 2

How to you randomize salary in Java?

Whats the code to do that?😥

14th May 2022, 6:45 PM
Life
Life - avatar
7 odpowiedzi
+ 2
Random salary? Can you please show your code and explain what you try to do?
14th May 2022, 6:51 PM
Lisa
Lisa - avatar
+ 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"
14th May 2022, 7:01 PM
Lisa
Lisa - avatar
0
Do you want to sample random integers? Or floats? Or double? Do the numbers need to be in a certain range?
14th May 2022, 6:55 PM
Lisa
Lisa - avatar
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 .
14th May 2022, 6:57 PM
Life
Life - avatar
0
Thank you
14th May 2022, 7:03 PM
Life
Life - avatar
- 1
Lisa its in pdf could i show it to you on zoom?
14th May 2022, 6:53 PM
Life
Life - avatar
- 1
Lisa i wish i could show you the question 😥😭
14th May 2022, 6:58 PM
Life
Life - avatar