Answered step by step
Verified Expert Solution
Link Copied!

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Business Statistics

Authors: Ronald M. Weiers

7th Edition

978-0538452175, 538452196, 053845217X, 2900538452198, 978-1111524081

More Books

Students also viewed these Databases questions

Question

how to calculate direct labor time variance

Answered: 1 week ago