⇤ ← Revision 1 as of 2005-05-13 21:48:26
280
Comment:
|
572
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
= Version 1.0 of Absolute Value Calculator = {{{from math import fabs print "Absolute Value - Version 1.0" print "What is the value of x?" x = float(raw_input()) print "The absolute value of x is:" print fabs(x) print "Press Enter to quit." raw_input()}}} |
Version 1.0 of Ceiling Calculator
{{{from math import ceil
print "Ceiling Calculator - Version 1.0" print print "What is the value of x?" x = float(raw_input()) print print "The ceiling of x is:" print ceil(x) print print "Press Enter to quit." raw_input()}}}
Version 1.0 of Absolute Value Calculator
{{{from math import fabs
print "Absolute Value - Version 1.0" print print "What is the value of x?" x = float(raw_input()) print print "The absolute value of x is:" print fabs(x) print print "Press Enter to quit." raw_input()}}}