Skip to content

Exercise 1 — Cryptogram

Practica · UNEXPO · 3%

Exercise 1 — Cryptogram

C++ program using OOP that encrypts a message and displays both original and ciphertext.

A cryptogram replaces each letter uniformly across the message. Punctuation and spaces stay unchanged.

Build an object-oriented C++ program that encrypts a message and prints both versions.

Example: ES RAPIDO!FT SBOJEP!

  • Use OOP (clear class responsibilities).
  • Keep punctuation and spaces unchanged.
  • Print original and encrypted text.
  • Do not use vector.
  • Submit one .cpp file per pair to mcolombo@unexpo.edu.ve.
// Pending: add group solution when authorized.

Back to assignments