Arithmetic/Integer: Difference between revisions

Content deleted Content added
added Inform 7 solution
Pari/GP
Line 1,026:
]
System.showInfo}</lang>
 
=={{header|PARI/GP}}==
<lang>arith(a,b)={
print(a+b);
print(a-b);
print(a*b);
print(a\b);
print(a%b);
print(a^b);
};</lang>
 
=={{header|Pascal}}==