Question: Create a file customer.h containing a struct declaration that matches the data format of a single line in the text file. The customer id (1st
Create a file customer.h containing a struct declaration that matches the data format of a single line in the text file. The customer id (1st field) must be declared integer and account balance (last field) must be declared float. You may choose any data type for the remaining fields. Write a C program that: create a new file. Give it a name of your choice. read each line from customerA.txt and write that data to the newly created file.
customerA.txt: 2094936
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
