LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem (https://www.linuxquestions.org/questions/linux-newbie-8/problem-4175491104/)

geri1126 01-13-2014 06:21 AM

problem
 
a BASH script who generates a random positive number between 0 and x,where x have values between 100 and 100000.The script calculate the sum of the numbers generated and shows in the screen the numbers and the sum

druuna 01-13-2014 06:37 AM

Quote:

Originally Posted by geri1126 (Post 5097109)
a BASH script who generates a random positive number between 0 and x,where x have values between 100 and 100000.The script calculate the sum of the numbers generated and shows in the screen the numbers and the sum

We don't do the work for you but we are willing to help.

- What have you tried?
- What problems/errors do you run into?

Also have a look here: $RANDOM: generate random integer


All times are GMT -5. The time now is 01:18 AM.