(int a)
| 66 | |
| 67 | //--------------------------------------------------- |
| 68 | public ADTFraction times(int a) {//multiply fraction by a number |
| 69 | int num, den; |
| 70 | den=this.d; |
| 71 | num=this.n * a; |
| 72 | |
| 73 | ADTFraction f1 = new ADTFraction(num,den); |
| 74 | return f1; |
| 75 | |
| 76 | //return times(new ADTFraction(a,1)) |
| 77 | |
| 78 | } |
| 79 | |
| 80 | |
| 81 | //--------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected