Need to write this code:
Write a C++ program that prompts the user for the filename of aninput data file that contains a list of double-precision numbersrepresenting test scores. The program should then prompt the userfor the number of test scores in the input data file. After theuser enters the number of test scores in the input data file, theprogram must declare an array, named scores, which will hold theuser-specified number of double- precision test scores. The programmust then read the user-specified number of
double-precision test scores from the input data file into theprogram “storing” each score in the array named scores.
PayPal Gateway not configured
PayPal Gateway not configured