1. Create a complete program that:
a. prompts a user to enter the name of an existing file.
b. If the file does not exist and or cannot be opened, the program should display an error message and quit.
c. If the file exists and can be opened, prompt the user for a new file-name.
d. If the new file name already exists, print a message telling the user that the file already exists and ask the user whether they want to APPEND
i. if the user enters â€˜Nâ€ for â€œNOâ€, print a message â€œOperation canceled by userâ€ and quit
ii. otherwise, open the file for APPEND and copy all of the contents from the original file
If the file doesnâ€t already exist, create a new file with the name supplied by the user and copy the contents of the original file into it
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for A 100% ORIGINAL PAPER!Use Discount Code “Original Paper” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.
c visual studio files - Nursing Writers Hub.