Write a program (in C++) that generates and calculates 20 different random numbers that can be divided by 2 or 5. Random numbers must be generated from 1 to 200, the same number cannot be included in...

Write a program (in C++) that generates and calculates 20 different random numbers that can be divided by 2 or 5. Random numbers must be generated from 1 to 200, the same number cannot be included in the array! The random number generation should be written in a function, ie the return value of the function should be an array! (file name: basic_prog_yourneptuncode.cpp) 4. Given a list in which the wages of 50 people are stored (in EUR). Write a program (in C++) that determines what the average wage is, who has the highest wage, who has the lowest wage, and who has the wages below average. (file name: wages_yourneptunecode.cpp) Comment: for this task, you create a function that answers the questions, that is, the return value contains the answer data for the questions. The 50 pieces of wages to be stored in an array should be random numbers, automatically generated! Random numbers must be generated from 150 to 1000. The random number generation should be written in a function, ie the return value of the function should be an array

Dec 10, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here