CMPT 120 Lecture Notes - Lecture 5: Microsoft Dynamics Ax

25 views1 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
29
CMPT 120 Full Course Notes
Verified Note
29 documents

Document Summary

Variable in the expression, contents from before used to evaluate the new expression, then old expression destroyed. Requires some value to be defined in x. Inform the user with good messages what the intermediate calculations are as opposed to only printing the final result. Once the program is finalized, the extra prints can be commented out. Input example17 editor print ( hello user we"ll ask some questions ) Name = input( what is your name ) uage = input( please type your age ) #input always returns a string print ( what a nice age you have! ,uage) uageint = int(uage) doubleage = uageint*2 print ( dear ,name, double your age is ,doubleage) shell.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents