Question: Plaese salve it with C program not C++ live.wilkes.edu Student Services - Wilkes Calendar & Mechanical Worksheet-IO - EGR-14.+ Write a single statement to accomplish

Plaese salve it with C program not C++
live.wilkes.edu Student Services - Wilkes Calendar & Mechanical Worksheet-IO - EGR-14.+ Write a single statement to accomplish each of the following. Assume each of these statements applies to the same program 1. Write a statement that opens the file "OldDatabase.txt" for reading and assigns the returned file pointer to OldData. a) b) Write a statement that opens the file "Transactions.txt" for reading and assigns the returned file pointer to Trans. Write a statement that opens the file "NewDatabase.txt" for creation and writing and assigns the returned file pointer to NewData c) Write a statement that reads a record from the file "OldDatabase.txt". The record consists of integer accountNum, string name, and double currentbalance. d) e) Write a statement that reads a record from the file "Transactions.txt". The record consists of integer accountNum and double dollarAmount f Write a statement that writes a record to the file "NewDatabase.txt". The record consists of integer accountNum, string name, and double currentBalance. Use 2 decimal places for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
