1- Sum Perfects. (Program should call a function that fill array with 10 random mumbers and call a function that finds the sum of the perfect mumbers in the array) 2- Average of Primes: (Program should fill two dimensional array with 16 random mumbers, and call a function that find the average of primes in the array) 3- Return to the main menu. To Exit press d or D.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 16PE
icon
Related questions
Question

hello, c++ programming homework deals with array make menu that has option 1 2 and 3 to get back to the menu that has option 1 2 and 3 is to repeat , and then press d to exit the menu.

1- Sum Perfects.
(Program should call a function that fill array with 10 random mumbers and call a function that
finds the sum of the perfect mumbers in the array)
2- Average of Primes:
(Program should fill two dimensional array with 16 random mumbers, and call a function that
find the average of primes in the array)
3- Return to the main menu.
To Exit press d or D.
Transcribed Image Text:1- Sum Perfects. (Program should call a function that fill array with 10 random mumbers and call a function that finds the sum of the perfect mumbers in the array) 2- Average of Primes: (Program should fill two dimensional array with 16 random mumbers, and call a function that find the average of primes in the array) 3- Return to the main menu. To Exit press d or D.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning