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.
Statement
Section titled “Statement”Create a data file that:
- Reads a line of text in lowercase.
- Stores it in uppercase in a file.
- Prints the file contents.
Requirements
Section titled “Requirements”- Use file I/O (
fstream). - No
vector. - One
.cppper pair tomcolombo@unexpo.edu.ve.
Solution
Section titled “Solution”See the Spanish version for a complete reference implementation: Ejercicio 3.