plz solve it by using easy language of c++?
Extracted text: Write a C++ program that prompts the user to enter a file name that contains the total mark of students. Each line in the input file contains a student name followed by the student's total mark. The program should ask the user for the passing threshold (i.e. student whose total mark is greater than or equal the threshold will pass the course) and copy the students who pass the course to a new file (the name of the output file is specified by the user). Moreover, the output file should be format so that all the marks are displayed with two digits after the decimal point. The width for the names and marks fields should be eight and seven, respectively. A sample input and output files are shown below (the passing mark in this sample is assumed to be 60). total.txt (sample) pass.txt (sample) Ahlam 80.123 Ahlam 80.12 Bader 83.1 Bader 83.10 Nabil 91.25 Nabil 91.25 Khoula 70 Khoula 70.00 Saif 65.333 Saif 65.33 Salem 50 Sultan 92.50 Sultan 92.5 Qais 77.20 Qais 77.2
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here