Junilu Lacar wrote:If instead I just simply convert the null reference into some default value, the mistake will be masked.
original code wrote:
Enissay Dave wrote:Does grade matter ? Since it's not included in your certificate, I guess the one shouldn't spend a lot of time in preparation... What do you think ?
Original requirements wrote:Your task is to complete the program. Program should ask for two integers and then add them together and print the result. Your task is to write the code which asks for the numbers and uses exception handling to check if the given numbers are integers. If the user inputs something else than an integer, You did not type an integer! is printed on screen. Program also includes the variable inputCorrect which value needs to be set to false if the given numbers are not integers.
Campbell Ritchie wrote:Wonder what difference that will make.
Keit Koppel wrote:My part is line 33 till to the end .