This document compares common commands between C++, Pascal 7, and Pascal FC programming languages. It lists each command side by side and shows that they generally have analogous functions across the languages, with some variations in syntax. Key commands covered include comments, variables, loops, conditional statements, arrays, and more.
This document compares common commands between C++, Pascal 7, and Pascal FC programming languages. It lists each command side by side and shows that they generally have analogous functions across the languages, with some variations in syntax. Key commands covered include comments, variables, loops, conditional statements, arrays, and more.
This document compares common commands between C++, Pascal 7, and Pascal FC programming languages. It lists each command side by side and shows that they generally have analogous functions across the languages, with some variations in syntax. Key commands covered include comments, variables, loops, conditional statements, arrays, and more.
CUADRO COMPARATIVO ENTRE LOS COMANDOS DE C++, PASCAL 7 Y
PASCAL FC C++ PASCAL 7 PASCAL FC /* comentario */ { comentario } { comentario } a = 5; a := 5; a := 5; ( a == 5 ) ( a = 5 ) ( a = 5 ) Cout<< Write - writeln Write - writeln cin>> Read - readln Read - readln For () {
} Begin For 1 to n do
end Begin For 1 to n do
end Int a,b,c; A,b,c: integer A,b,c: integer Do {
} while Repeat
until Repeat
until [] Array [] of Array [] of While (n<100) While n<100 do While n<100 do N+=N N:=N+N N:=N+N && AND AND || OR OR % MOD MOD != <> <> ! NOT NOT Switch (x) {
Default: } Case x of
Else ; Case x of
Else ; If () {
} If () then begin
end If () then begin
end {
} Begin
end Begin
end new new new Delete Dispose dispose NULL Nil Nil