This commit is contained in:
Rhinemann 2023-05-03 10:40:04 +03:00
parent acc2d533cb
commit a4a3e09735
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class Lab_1 {
input.close(); 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); System.out.println("S = " + s);
} }