diff --git a/Java/Lab 1/Lab_1.java b/Java/Lab 1/Lab_1.java index 6f3b6db..c3af60d 100644 --- a/Java/Lab 1/Lab_1.java +++ b/Java/Lab 1/Lab_1.java @@ -32,7 +32,7 @@ public class Lab_1 { input.close(); - float s = ((float)(b + m) / 2) * (m - b + 1) * (n - a + 1); + float s = ((float) (b + m) / 2) * (m - b + 1) * (n - a + 1); System.out.println("S = " + s); }