From 9b871c013a2631af85239ba54cb50c038e920f62 Mon Sep 17 00:00:00 2001 From: Radek Date: Tue, 7 Jun 2022 22:51:30 +0200 Subject: [PATCH 1/2] dodanie zmiennych --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index b7c4032..f7575a0 100644 --- a/main.c +++ b/main.c @@ -3,5 +3,7 @@ int main (void) { puts ("Hello World!"); + int a = 0; + int b = 0; return 0; } \ No newline at end of file From d155873fd69a6dd11121ab2eb1f0914e6425c195 Mon Sep 17 00:00:00 2001 From: Radek Date: Tue, 7 Jun 2022 22:52:02 +0200 Subject: [PATCH 2/2] dodanie sumowania --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index f7575a0..5c52f28 100644 --- a/main.c +++ b/main.c @@ -4,6 +4,7 @@ int main (void) { puts ("Hello World!"); int a = 0; - int b = 0; + int b = 2; + int c = a + b; return 0; } \ No newline at end of file