This PR adds a new method calculateAverageTime to the HomeController in order to calculate the average time to finish a task. The method takes an integer size as input and returns the result of size multiplied by 3.5.
Summary of Changes
Added a new method calculateAverageTime to the HomeController
The method takes an integer size as input
The method returns the result of size multiplied by 3.5
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR adds a new method
calculateAverageTime
to the HomeController in order to calculate the average time to finish a task. The method takes an integersize
as input and returns the result ofsize
multiplied by 3.5.Summary of Changes
calculateAverageTime
to the HomeControllersize
as inputsize
multiplied by 3.5Fixes #1.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.