Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I really need correct answers for these questions, please help tq. QUESTION 1 Elaborate on the steps should be done to program a complete C++
I really need correct answers for these questions, please help tq.
QUESTION 1 Elaborate on the steps should be done to program a complete C++ for the following problem. A C++ program should consist of: a) 10 random numbers from 100 to 100 as a one-dimensional array. b) Count the total number of negative and positive numbers in (a). c) Get the mean of even and odd numbers, respectively. d) Rearrange the numbers of (a) as a two-dimensional array of size 52. e) Compute f(x)=2.5i=09xi2 where xi is the random number generated in (a). [10 marks] QUESTION 2 Create a complete C++ project folder for the following problem. Considering the steps elaborated in Question 1, write the complete C++ program. Display and store the results in 1(a)-1(e) into an output file named Q1_Output.txtStep by Step Solution
There are 3 Steps involved in it
Step: 1
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