Pascal | C |
WRITE(IntValue) | printf("%d", IntValue); |
WRITELN(IntValue) | printf("%d\n", IntValue); |
WRITELN(RealValue) | printf("%g\n", RealValue); |
WRITELN(StringValue) | printf("%s\n", StringValue); |
WRITELN(Int1, Int2) | printf("%d %d\n", Int1, Int2); |
READ(IntValue) | scanf("%d ", &IntValue); |
%d | int |
%g | double |
\n | Νέα γραμμή |