Programming

alawami51

 Create a program in either C++, C#, or Visual Basic that does the following: 

1) Displays some information on the screen

 2) Attempts to open a non existent text file on the local hard drive

 3) An exception handling routine should take over The exception handling routine must display a message on the screen - File does not exist - Should I create the file or exit the program If create the file is selected - the exception handling routine should create the file and allow the program to continue processing by:

 a) opening the file

 b) displaying a message - File opened successfully on the screen Otherwise a graceful termination of the program should be performed 


screen shots of all program activity 

    • 7 years ago
    • 5
    Answer(0)