RU beehive logo ITEC dept promo banner
ITEC 120
2019fall
asbrennem
ibarland

local variables

Variables vs. one-big-return

In class we'll write buffetPrice in two different ways: using just one big return statement, and another using a variable to store a subresult.

To do, with your neighbor: Re-write at pizzaArea to use a variable.

To do: Re-write last3 so that it uses just one big return statement.


logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.