Hi!
This is the code that aloow us to enter two char signs, sum their ascii values, and print the sign thats corresponding to value of the sum.
Now, I would like to make exception that is to be thrown when sum og ascii values is bigger than 255.
Here is the code:
If I enter '~' and '~' , code just sum their Ascii value and return 252!
How do I make this to work?
How to give a condition which will throw me MyException lik a regular ones?
Many thanks...
Edit by mw: Added Code Tags.