Problem2203--Implement file content copy

2203: Implement file content copy

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

Write a function that will copy the contents of file in.dat to the file out.dat. Check for successful file opening of both in.dat and out.dat. The loop that actually does the copy should terminate on end of file.

Input

no input

Output

If the task is completed, then print

Sample Output Copy

yes

Source/Category

45