Program HelloWorld; var a:integer; //a whole number positive or negative b: real;//a decimal number either positive or negative letter: char;//one letter or symbol from the keyboard Begin WriteLn('Hello my name is Kat'); write('Is there anything I can assist you with ,'); write('like how to make an chocolate milk ?'); a := 3; b := 4.5; letter := 'a'; writeln('The value in a is:',a); writeln('The value of b is:',b); readln; End.
Write, Run & Share Pascal code online using OneCompiler's Pascal online compiler for free. It's one of the robust, feature-rich online compilers for Pascal language. Getting started with the OneCompiler's Pascal editor is easy and fast. The editor shows sample boilerplate code when you choose language as Pascal and start coding.