CMPT 120 Lecture Notes - Lecture 5: Microsoft Dynamics Ax
![CMPT 120 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2242525-class-notes-ca-sfu-cmpt-120-lecture27.jpg)
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.