I need to generate 6 float numbers whose sum will be between 30 and 36.
For example, num1 = 4.40, num2 = 6.20, num3 = 5.20, num4 = 5.30, num5 = 4.80, num6 = 4.70
The numbers must be in a range between 3.50 and 8.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a brute-force solution: