Arithmetic/Integer: Difference between revisions

m (Added comment that this example cannot be run in the Rust playpen)
Line 935:
remainder(a,b) = 2
power(a,b) = 8</pre>
 
=={{header|Excel}}==
 
If the numbers are typed into cells A1 and B1
 
For sum, type in C1
<lang excel>
=$A1+$B1
</lang>
 
For difference, type in D1
<lang excel>
=$A1-$B1
</lang>
 
For product, type in E1
<lang excel>
=$A1*$B1
</lang>
 
For quotient, type in F1
<lang excel>
=QUOTIENT($A1,$B1)
</lang>
 
For remainder, type in G1
<lang excel>
=MOD($A1,$B1)
</lang>
 
=={{header|Factor}}==
503

edits