CSCI 1301 Study Guide - Quiz Guide: Extreme Couponing

41 views3 pages

Document Summary

Classes at gt have started, and what better way to start off the semester than to stress about the price of books. Thankfully, your mom (the master of the art of finesse) gave you a 35% off coupon to offset the costs. Write a function that takes in the total price, deducts 35%, and prints the statement shown in the test cases below with the new price. My textbook originally cost , but now it only costs . 25! My textbook originally cost , but now it only costs . 95! Upper bound for the list printed - integer. You got into a fight with 1, 3, 5, 7 and 9so the odds were definitely against you. As a new enemy of odd numbers, write a function that will print out a list of every even number between 0 and the number you input as a parameter. Both 0 and the number parameter should be included in the list your function prints.