File I/O C#
HONOR CODE
COMP-2240-01
Programming 2
Assignment-4
Due on November 11
|
I pledge my honor that I have neither given nor received aid on this work. Do not sign until after you have completed your assignment.
|
|
|
Name: |
Signature:
|
1) (30) Copy your resume and paste to a Notepad document. Save it as a data file (.dat) or a text file (.txt). Write a program that read your resume as an input from the file and show it to the screen and send it to another file (say, resume_backup.txt).
2) (30) Write a program that generates 30 random numbers between 40 and 100. Display these numbers and save them to a file.
3) (40) Write a program that reads the 30 numbers you saved in the file in question 2. Find the largest number, the smallest number, and the average. Then display the original 40 numbers and the largest, smallest and the average on the screen. Also save all the result to a file.
Note:
· Write the 3 programs separately.
· You need to include exception handling in all 3 programs
· You must type your program in Visual Studio, and build/run.
Submission Requirements:
Source code, screenshot of the screen, screenshot of output file