Basic HTML version of Foils prepared Sept 20 97

Foil 16 Arithmetic Operators

From Tutorial on PERL Computational Science for Information Age Course CPS616 -- Sept 20 97. by Geoffrey C. Fox,Nancy McCracken,Tom Scavo


1 + Addition as in $x + $y;
2 - Subtraction as in $x - $y;
3 * Multiplication as in $x * $y;
4 / Division as in $x / $y;
5 % Modulus as in $x % $y; # 10%3 is 1 etc.
6 ** Power as in $x**$y;

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Sep 21 1997