Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Certainly Heres an example of how you can approach the two problems using C 1 Generating a Histogram of Randomly Generated Numbers Algorithm Design 1 Take user input for the mean and standard deviatio...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started