Skip to content

Exercise 3 — Uppercase file

Practica · UNEXPO · 2%

Exercise 3 — Uppercase file

Read a lowercase line and store it uppercase in a file, then print the file contents.

Create a data file that:

  1. Reads a line of text in lowercase.
  2. Stores it in uppercase in a file.
  3. Prints the file contents.
  • Use file I/O (fstream).
  • No vector.
  • One .cpp per pair to mcolombo@unexpo.edu.ve.

See the Spanish version for a complete reference implementation: Ejercicio 3.

Back to assignments