Can someone help me those 2 questions using C++ only 1. generate a histogram of 20,000
Fantastic news! We've Found the answer you've been seeking!
Question:
Can someone help me those 2 questions using C++ only
1. generate a histogram of 20,000 randomly generated integer numbers according to a normal distribution with a user-specified mean and standard deviation.
2. There are 20 learners who haven't found a small group yet. Please design and implement an algorithm to randomly assign them to a group with <5 members.
Please follow the problem solving process and submit the following steps in one document as a group:
- algorithm design and description in pseudo code
- implement your algorithm in CPP
- when choosing data structures, consider std::array, std::pair, and std::vector.
- what's your function prototype?
- Test your CPP implementation using some input examples
Related Book For
Posted Date: