From a4a3e09735e283276e47511352f07f3d85721207 Mon Sep 17 00:00:00 2001 From: Rhinemann Date: Wed, 3 May 2023 10:40:04 +0300 Subject: [PATCH] Lab 1. --- Java/Lab 1/Lab_1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }