From cd52ce601bc2475d8b4692ea6ab3f63efe9077b2 Mon Sep 17 00:00:00 2001 From: vakeeshanvictor <33062640+vakeeshanvictor@users.noreply.github.com> Date: Mon, 8 Oct 2018 21:19:20 +0530 Subject: [PATCH] Create Addition.pal --- code/Addition.pal | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 code/Addition.pal diff --git a/code/Addition.pal b/code/Addition.pal new file mode 100644 index 0000000..a25b610 --- /dev/null +++ b/code/Addition.pal @@ -0,0 +1,13 @@ +Program Lesson1_Program3; +Var + Num1, Num2, Sum : Integer; + +Begin {no semicolon} + Write('Input number 1:'); + Readln(Num1); + Writeln('Input number 2:'); + Readln(Num2); + Sum := Num1 + Num2; {addition} + Writeln(Sum); + Readln; +End.