UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

9.8.6.  Read a line by keyboard and write in file

Resources

Work Plan

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.