Test your function by calling it for the following

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: nce is 25, then your function should return 10. Example 4: if your balance is 8, then your function should return 8. (Note: these return values are approximate values; yours may vary slightly due to precision issues that we talked about briefly in class last week.) (2) (CS Circles) Part 1 (5 pts.): Code scramble  ­ Make the program sort the three numbers x, y and z into increasing order, so that x has the smallest value, y has the next sm...
View Full Document

This note was uploaded on 02/12/2014 for the course CIS 122 taught by Professor Staff during the Spring '08 term at University of Oregon.

Ask a homework question - tutors are online