From 800b64c8f41ef8f7bde3a7750974a7f21fe006c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Suszek?= <s204362@student.pg.edu.pl> Date: Mon, 10 Mar 2025 08:41:51 +0000 Subject: [PATCH] Upload New File --- jezykc5.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 jezykc5.c diff --git a/jezykc5.c b/jezykc5.c new file mode 100644 index 0000000..c798996 --- /dev/null +++ b/jezykc5.c @@ -0,0 +1,16 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(){ + +printf("podaj liczbe\n"); +int x ; +scanf("%i", &x); +if (x%2==0) { + printf("liczba parzysta\n"); +} +else { + printf("liczba nieparzysta\n"); +} + return 0; +} -- GitLab