From 8a05d169a3dc0a7d1578e30e7df3e5e019c62999 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miko=C5=82aj=20Suszek?= <s204362@student.pg.edu.pl>
Date: Mon, 31 Mar 2025 12:21:22 +0000
Subject: [PATCH] Upload New File

---
 jezykc17.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 jezykc17.c

diff --git a/jezykc17.c b/jezykc17.c
new file mode 100644
index 0000000..0c520d0
--- /dev/null
+++ b/jezykc17.c
@@ -0,0 +1,23 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include "jezykc16.c"
+
+int main() {
+    float M, R;
+    printf("Podaj mase planety w postaci 10^24 \n");
+    scanf("%f", &M);
+    printf("Podaj promien planety w km \n");
+    scanf("%f", &R);
+
+    int wynik = sprawdzenie(M, R);
+    if (wynik == 1){
+            printf("Masa i promien musza byc wieksze niz zero\n");
+        return 1;
+    }
+    double v = Vucieczki(M, R);
+    printf("Predkosc ucieczki to:\n %.2f m/s \n", v);
+    printf("Predkosc ucieczki w km/s to:\n %.2f", v/1000);
+
+    return 0;
+}
-- 
GitLab