Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
x' y'' (i.e. x feet y inches)
and returns the difference in length between
the two in the same format. You may assume
that the first is always larger than the
second!
A typical run of your program should look like this (user
input shown in red):
Enter two lengths in feet and inches (larger first!) 32' 6'' 15' 11'' Difference is 16' 7''Turn In a printout of your source code, a screencapture of your program running on the above example input and a printout of this page with name, alpha, help-info filled in. These should be stapled together.
"'"
works just fine, but to get the character constant of the
apostrophe you must write '\'', which uses the
backslash as an escape character.