“output Pascal” Kode Jawaban

output Pascal

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.
ALeonidou

cetak pascal

WriteLn('Something')
weegee

Jawaban yang mirip dengan “output Pascal”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya