Question: Code for c++ Code must be for C+++ This is what is in the GradeList.txt file below. 67 78 78 95 78 45 52 89
Display the anay ulat your lumicuom gennerates, Display the size of the new array. Call your program: YourName-Hwrk09A.cp Gah she he Text Must be Homework 09B done in C++ COMSC-044 Element Shifter Write a function that accepts an int array and the array's size as arguments. The function should create a new array that is one element larger than the argument array. The first element of the new array should be set to 0. Element 0 of the argument array should be copied to element l of the new array, element l of the argument array should be copied to element 2 of the new array, and so forth. The function should return a pointer to the new array. Take your input data from the file Gradelist.txt. Your program should display: Display your name. Display the original array; Display the size of the original arra Display the new array that your function generates: Display the size of the new array. Call your program: YourName-Hwrk09B.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
