Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MP3 worksheet
- Comments:
- ***************** newton *****************
- Enter value to find square root: 200
- Newton(200.0) = 14.142135623730955
- Math.sqrt = 14.142135623730951
- ____________________________________
- *****************string_methods *****************
- Enter the desired String:
- Aardvarks get big and bigger as You feed them big and bigger ants who Feed on apples.
- *************************************
- Analyzing: myStr = Aardvarks get big and bigger as You feed them big and bigger ants who Feed on apples.
- Number of upper case letters = 3
- Number of lower case letters = 65
- Number of big is 4
- Number of a is 7
- *************************************
- Analyzing: myStr = Parked in a van down by the river bank .... The van evan vanished near a lot of other vans
- Number of upper case letters = 2
- Number of lower case letters = 65
- Number of van is 5
- Number of a is 10
- *************************************
- Analyzing: myStr = the elephant in the room wouldn't budge
- Number of upper case letters = 0
- Number of lower case letters = 32
- Number of the is 2
- Number of i is 1
- ____________________________________
- ***************** ATM Simulation *****************
- Main menu:
- 1: Check Balance
- 2: Withdraw
- 3: Deposit
- 4: Exit
- Enter a choice: 1
- You have $100 in your account.
- Main menu:
- 1: Check Balance
- 2: Withdraw
- 3: Deposit
- 4: Exit
- Enter a choice: 2
- Enter the amount you'd like to withdraw: 200
- Amount entered exceeds current account balance. Transaction declined.
- Main menu:
- 1: Check Balance
- 2: Withdraw
- 3: Deposit
- 4: Exit
- Enter a choice: 2
- Enter the amount you'd like to withdraw: 50
- $50 has been withdrawn from your account.
- Main menu:
- 1: Check Balance
- 2: Withdraw
- 3: Deposit
- 4: Exit
- Enter a choice: 3
- Enter the amount you'd like to deposit: 200
- $200 has been deposited into your account.
- Main menu:
- 1: Check Balance
- 2: Withdraw
- 3: Deposit
- 4: Exit
- Enter a choice: 1
- You have $250 in your account.
- Main menu:
- 1: Check Balance
- 2: Withdraw
- 3: Deposit
- 4: Exit
- Enter a choice: 4
- Have a nice day.
- ____________________________________
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement