Sunday 19 December 2010

Flow chart To merge the contents of two files into a third file

Description:

The program will read the contents of two given files and stores them in the third   given file




Output:

Enter the name of the file 1 Red1
Enter the name of the file 2 Red2
Enter the name of the file 3 Red3

Two files were merged into the file Red3  successfully


Enter the name of the file 1 file1
Enter the name of the file 2 Red2
Enter the name of the file 3 Red3

Error file1 doesn’t exist



Enter the name of the file 1 Red1
Enter the name of the file 2 file2
Enter the name of the file 3 Red3

Error file2 doesn’t exist


Enter the name of the file 1 Red1
Enter the name of the file 2 Red2
Enter the name of the file 3 file3


Error file3 doesn’t exist



Conclusion : The progam is error free

No comments:

Post a Comment