init: repo
This commit is contained in:
10
open_set/24_op_priority2.pas
Normal file
10
open_set/24_op_priority2.pas
Normal file
@@ -0,0 +1,10 @@
|
||||
{ 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.
|
||||
Reference in New Issue
Block a user