Skip to content

Instantly share code, notes, and snippets.

@jongrover
Last active December 21, 2015 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jongrover/6270556 to your computer and use it in GitHub Desktop.
Save jongrover/6270556 to your computer and use it in GitHub Desktop.
JavaScript Procedural ATM Lab number 1
<script>
/* ATM lab Directions
1. set initial balance.
2. prompt the user for their choice.
3. run a particular function based on the users choice of withdrawal or deposit.
4. tell the user their new balance.
ATM Lab (part 1) - Directions
variables (which must be global and which can be local)
functions
if conditionals
prompt()
alert()
confirm()
parseFloat()
parseInt()
isNaN()
*/
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment