Create Addition.pal

This commit is contained in:
vakeeshanvictor 2018-10-08 21:19:20 +05:30 committed by GitHub
parent 0e23257c8a
commit cd52ce601b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
code/Addition.pal Normal file
View 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.