mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2024-11-16 01:07:26 +00:00
Merge pull request #318 from vakeeshanvictor/patch-2
Create Addition.pal
This commit is contained in:
commit
595ce79de1
13
code/vakeeshanvictor.pal
Normal file
13
code/vakeeshanvictor.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