Search results for query: *

  • Users: Nas
  • Content: Threads
  • Order by date
  1. N

    Question Custom Exceptions

    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...
  2. N

    Simple IF Statement instead of Array for rolling 3 dice by two players

    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...
  3. N

    Question error: System.FormatException: 'Input string was not in a correct format

    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...
Back
Top Bottom