Question: pleasee helpp i needed fast Given an incomplete program below.complete the program by filling in the banks with an appropriate C++ statement according to the

 pleasee helpp i needed fast Given an incomplete program below.complete the

program by filling in the banks with an appropriate C++ statement according

to the instructions stated in the comments This program intends to read

pleasee helpp i needed fast

Given an incomplete program below.complete the program by filling in the banks with an appropriate C++ statement according to the instructions stated in the comments This program intends to read the data from the input file(inputer and to display the data into the output fo (output) The data in the input fie is shown in Figure land the expected data in the output fie is shown in Figure 2 Note: Please write C++ statements WITHOUT blank spaces ress is absolutely needed. Examples in numat T S 1 A N 1 N TUN Y A HADAH QB AL Figure 1: Input file IQB AL SYAHADAH TAN TI N TUN Figure 2: Output file #include Winclude using namespace std; int main() char name[10][40]; intent = ; fstream input file, output file; 19 10 1/a) Open the input file named "input.txt" (2 marks) 11 12 13 114 5 //b) Open the output file named "output.txt" (2 marks) 15 16 17 18 19 20 1/e) Check for successful opening file (2 marks) 21 22 cout =0; i--)

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!