Here we are in Professor Cody’s Car Showroom. You can buy any of the vehicles on offer. I'd like you to make a function called discount (use My Blocks) which is used to calculate your discount, but you’ll need to know the discount code and then the function will return the value of the discount to the main program. Full instructions can be found at www.edulito.com
All work by Professor Cody for Edulito.