Unformatted text preview: COM110 Fall 2014
Warm-‐up exercise 2
Due Wed, Sept 10
• Write a program that prompts the user for his/her height in inches and feet and then outputs his/her
height in total inches.
– To take the input informa8on from the user, use simultaneous assignment with the input()
command (a la class notes and chapter 2 reading). • Bring your programs to class on Wed, both in hard copy (to be handed in) and soA copy (so we can add
to it during lecture). • See the syllabus to remind yourself what is considered a “complete” warm-‐up submission. Possible
op8ons include, but are not limited to:
– Wri8ng your problem-‐solving annota8ons as comments directly into the program. – Copy-‐pas8ng versions of your code into a separate document that tells the story of how you
ﬁxed/reﬁned/debugged it as you went along. – Print out your code, then write onto the print-‐out by hand, referencing (with arrows?) the lines
of code as appropriate. • Note that free color prin8ng is available in the CS lab during TA sessions. ...
View Full Document
- Fall '15