mirror of
https://github.com/ASDjonok/OOP_IO-2x_2023.git
synced 2025-06-07 22:49:24 +03:00
Lab 1.
This commit is contained in:
parent
acc2d533cb
commit
a4a3e09735
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user