i made this program in microsoft visual basic. and theres an error
THe exception integer division by zero. (0xc0000094) occured in the application at location 0x004011115.
heres my program:
Since you know that it is not possible to divide a number by zero.
The program does not also know the output, it throws exception error. I suggest you to read exception handling.