Skip to content

Instantly share code, notes, and snippets.

View gauravstr07's full-sized avatar
🏠
Working from home

Gaurav Sutar gauravstr07

🏠
Working from home
View GitHub Profile
@jongrover
jongrover / js-atm-lab-solution.html
Created August 19, 2013 19:03
JavaScript ATM (part 1) Lab Solution
<script>
var balance = 100.0; //set initial balance.
function get_balance() {
alert('Your current balance is: '+balance);
atm();
}
function make_deposit() {
var deposit = parseFloat(prompt('How much would you like to deposit?'));