C++ Assignment problem..

Guys I am new to c++ programming and having trouble completing this assignment can anyone help?

Chapter 17: File Processing - Read and study pp. 713-754
Hand in word processor output for your code and sample runs for these exercises – pts in parentheses () – Total points: 50

(30) 1. Write a program to: 1) Prompt the user to enter the name of a data file containing a list of 10 integers, each separated by a space or a line feed; 2) after ensuring the file opened successfully and the data loaded into an array, display the smallest and the largest integer to the console. After the minimum and maximum integers have been printed, sort the array in ascending order and display the elements of the sorted array. Use five functions for 1) reading the file data into an array, finding the 2) minimum and 3) maximum values in the array, 4) sorting the array, and 5) displaying the array. Use these integers to test your program: 120 234 33 2021 44 23 530 567 341 501

(20) 2. Write a program that prompts the user to enter the name of a text file containing a number (>10) of sentences or lines – for each line read, display a line number followed by a space and the line of text from the file, and at the end of each line, display the number of characters in the line.
Make an honest attempt to solve it yourself, and, if you get stuck, you may ask for help on the part your stuck on.
Topic archived. No new replies allowed.