jackfiled
89ce313b77
Reviewed-on: https://git.bupt-hpc.cn/jackfiled/CanonSharp/pulls/4 Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Co-committed-by: jackfiled <xcrenchangjun@outlook.com>
11 lines
149 B
ObjectPascal
11 lines
149 B
ObjectPascal
{ test the priority of add and mul }
|
|
program main;
|
|
var a,b,c,d: integer;
|
|
begin
|
|
a := 10;
|
|
b := 4;
|
|
c := 2;
|
|
d := 2;
|
|
write(c + a * b - d);
|
|
end.
|