Different symbol for newline

master
sgoudham 4 years ago
parent 7595af3049
commit 373c28e1b5
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -33,6 +33,6 @@ public class AnimalHelper {
public void displayAveragePrice() {
/* Display the average price of all the animals */
System.out.printf("\nThe Average Price For All The Animals Are: £%.2f", averagePrice);
System.out.printf("%nThe Average Price For All The Animals Are: £%.2f", averagePrice);
}
}

Loading…
Cancel
Save