exception handling

Jul 15, 2010 at 5:47am
I will be very grateful for any help.

Write a program to enter your first name using an array of size 10. If the name entered is more than 10 characters, then display the message :”out of array size declared” using the exception handling. Write a exception class for exception handling.

Write a program to calculate the average mark of n students using an array. Prompt the user
for the marks. If the mark is invalid, display the error message using exception handling and
prompt the user to enter again. Write a exception class for exception handling.
Last edited on Jul 15, 2010 at 5:49am
Jul 15, 2010 at 6:01am
What do you have done so far?
Jul 15, 2010 at 1:39pm
Topic archived. No new replies allowed.