Write a program to implement a method that can do additions of 2 fractions. You will implement a class called Fraction consisting of a numerator and a denominator. The additions of
2 fractions should be equal to a fraction.
Use 1/2+1/3 as the test.
Hints:
Fraction f1, f2;
f1.add(f2);
作者已經移除這則留言。
回覆刪除電子二乙 9526243 吳聖源
回覆刪除電子二乙 9526257 黃健暐
回覆刪除電子二丙 9526362 馮文甫
回覆刪除電子二乙9526214許祐齊
回覆刪除電子二乙 9526240 游耀鴻
回覆刪除電子二乙 9526228 林秉祥
回覆刪除電子二丙 9526319 鍾宜展
回覆刪除電子二丙 9526302 周崇曄
回覆刪除電子二乙9526224范丞儀
回覆刪除電子三乙9426261徐瑞嘉
回覆刪除電子二乙 9526238 王詩集
回覆刪除電子四乙 9326263 葉軒瑞
回覆刪除電子四丙 方彥順 9326351
回覆刪除資工二甲9527118張哲銘
回覆刪除醫工四甲9325146陳品汶
回覆刪除電子二乙9526248蔡泓修
回覆刪除資工二甲 9527158 張懷仁
回覆刪除資工二甲 9527129 陳晏禎
回覆刪除電子二丙 9526359 王仁澤
回覆刪除資工二甲 9527131 施宇涵
回覆刪除電子二甲9526150張凱鈞
回覆刪除
回覆刪除電子三乙 9426231 吳奕欣
電子二乙9526202韋瑾
回覆刪除作者已經移除這則留言。
回覆刪除電子四甲 9226119 許成輔
回覆刪除