mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed typo
Tags #fix
This commit is contained in:
@@ -115,7 +115,7 @@ public class Race {
|
|||||||
for (int i = 0; i < numberOfBoats; i++) {
|
for (int i = 0; i < numberOfBoats; i++) {
|
||||||
String velocityKnots = String.format("%1.2f", boats[i].getVelocity() * 1.943844492);
|
String velocityKnots = String.format("%1.2f", boats[i].getVelocity() * 1.943844492);
|
||||||
|
|
||||||
System.out.println(boats[i].getTeamName() + " Velocity: " + velocityKnots);
|
System.out.println(boats[i].getTeamName() + " Velocity: " + velocityKnots + " knots.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user