mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2024-12-22 13:22:39 +00:00
Create Addition.pal
This commit is contained in:
parent
0e23257c8a
commit
cd52ce601b
13
code/Addition.pal
Normal file
13
code/Addition.pal
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user