161k views
0 votes
Create a text file named employee.dat containing the following data: b. Write a C++ program to read the employee.dat file created in Exercise 5a and produce a duplicate copy of the file named employee.bak.

User Chris Yim
by
4.9k points

1 Answer

4 votes

Answer:

1000 500 250 125 the output

Step-by-step explanation:

write a program using integers userNum and x as input, userNum divided by

x four times. EX : If the input is 2000 2 the output is 1000 500 250 125

User Razor
by
5.4k points