I can't get my code (below) to execute the exceptions!
1- First, the bank account is empty.
2- 1500 deposit is made
3- Attempt to withdraw 1050 but the overdraft limit is 1000
4- Since the the amount to withdraw is greater than the overdraft limit the OverdraftEx exception should display my...
Hello,
I have this code written using Arrays for two players rolling 3 dice each and then state who got the highest score (the score is not adding the 3 numbers for each player but putting the numbers beside each other and reading it as a 3 digits integer, for example if player 1 rolls 3, 2 and...
I am getting a error when trying to create a Form that will randomly display 3 values of 3 Dice for 2 players and will compare the numbers and displays who won. The is running great but it started show me an error after I put the IF statement. The code runs but it returns the error when I click...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.