Solved: Program to check if a 15-element array of Boolean values contains at least 7 true values.

$30.00

Category:

Description

Solved: Program to check if a 15-element array of Boolean values contains at least 7 true values.

use C++

Write a program to check, and output to the screen, if a 15-element array of Boolean values contains at least 7 true values. Note that both 15 and 7 are to be constants. The values of the array are to be randomly generated (50% true, 50% false, both via even and odd numbers). Your submission should include a screenshot of the execution of the program using each of the random number generator seeds 1023, 643 and 5364


error: Content is protected !!