To work with the data type
Example:
program Welcome;
uses
Wincrt;
var
a:integer;
b:integer;
c:integer;
begin
Writeln('Ente the three number: ');
Read(a);
Read(b);
Read(c);
Writeln('Answer is : ',a+b+c);
end.
Ouput:
Post a Comment
No comments:
Post a Comment