Add the following mutator method to the TimeSpan class: public void scale(int factor) Scales this time span

Question:

Add the following mutator method to the TimeSpan class:

public void scale(int factor)

Scales this time span by the given factor. For example, 1 hour and 45 minutes scaled by 2 equals 3 hours and 30 minutes.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: