Post: Fraction Data Type
05-25-2016, 04:48 AM #1
Mr Smithy x
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({}); I created this exercise a week ago and i wanted to share.
This was my crappy attempt at making a fraction data type.
It took me about 2 hours to do but it was a pretty fun exercise.
I will implement more like square rooting possibly.

Arithmetic
cout << fraction
cin >> fraction
& boolean expressions

Screenshot:

You must login or register to view this content.


You must login or register to view this content.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo