Programming Challenge 6


Description

Create a class for Ratio to represent fractions. Overload all reasonable operators for this class. Any operation that leads to a divide by zero should throw a custom exception. Decide whether to allow the compiler to generate contruction, copy, move, destruction, etc, as you see fit. Convey intent with the keyword default and delete keywords. Label methods nothrow when appropriate. Provide a simple test program for your class.

Details


General Instructions, Turning in assignments, and Grading

General Instructions

Turn in Instructions

Each assignment will be turned in through GitHub classroom. Please find the link to create a repository at the top of this page, or through this link. Assignments are due BEFORE, let me repeat, before class starts. This does not mean five minutes after class starts.

Points