Answers for "pascal print"

6

pascal output

Program OutputInPascal;

Var
number : Integer;

Begin
    //Print and move to next line
    writeln('Hello World of Pascal!');
    
    //Print without moving to next line
    write('   => Math fact: ');
    
    //Print text and variables and move to next line
    number := 10;
    writeln('The double of ',number,' is ', number * 2);
    
    //Just move to next line (leave line empty)
    writeln();
End.
Posted by: Guest on May-13-2022
0

pascal print

WriteLn('Something')
Posted by: Guest on April-23-2022

Browse Popular Code Answers by Language