Question: please solve these two task with c++. Write a program in C++ that asks a user to enter a number and search for that number

 please solve these two task with c++. Write a program in

please solve these two task with c++.

Write a program in C++ that asks a user to enter a number and search for that number from an integer data, use dynamic memory approach for the program. Calculate the size of the file then allocate the memory equal to the size of the file. Task 2 Write a program in C++ that read the data using an integer array. Once you read the integer number (data) from the file, square that number and place in your dynamic array. Calculate the size of the file and then allocate the memory accordingly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!