(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.