- Exercise

In this lesson, we'll solve an exercise related to input and output streams.

We'll cover the following

Problem statement #

  • Implement a class Fraction that has a numerator and denominator. Overload the input and output operator.

Get hands-on with 1200+ tech skills courses.