Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / pract. 01 / task4.cpp
diff options
context:
space:
mode:
1 files changed, 0 insertions, 23 deletions
-rw-r--r--pract_SI/pract. 01/task4.cpp23
diff --git a/pract_SI/pract. 01/task4.cpp b/pract_SI/pract. 01/task4.cpp
deleted file mode 100644
index b4829b4..0000000
--- a/pract_SI/pract. 01/task4.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include<iostream>
-#include<cmath>
-using namespace std;
-int main()
-{
- double x1, y1, x2, y2;
-
- cout << "x1: ";
- cin >> x1;
-
- cout << "y1: ";
- cin >> y1;
-
- cout << "x2: ";
- cin >> x2;
-
- cout << "y2: ";
- cin >> y2;
-
- cout << round(sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)) * 100) / 100 << endl;
-
- return 0;
-} \ No newline at end of file