Section 3 from Reading and writing with files
Write a program that asks the user to enter a line (with getline
),
counts how many times every character appears in that line (alphabet has 26 characters) and writes those frequencies on a new file (to see you have
write them correctly, open the file and read it).
Upload the program to the folder
Files_exam
in your workspace in
Subversion.