Merge remote-tracking branch 'origin/master'

This commit is contained in:
Haoming Yin
2017-03-08 13:33:22 +13:00
3 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -113,7 +113,9 @@ public class Race {
System.out.println("######################");
for (int i = 0; i < numberOfBoats; i++) {
System.out.println(boats[i].getTeamName());
String velocityKnots = String.format("%1.2f", boats[i].getVelocity() * 1.943844492);
System.out.println(boats[i].getTeamName() + " Velocity: " + velocityKnots);
}
}