ZAPPER
JAVA
Write a program called Zapper that takes as input two integers and does the following:
If the start number is not even print "The start is not an even number."
Using a for loop, loop through all of the numbers from the smaller integer to the bigger integer.
Using a switch statement, if the remainder of the number divided by 3 is 0 print "ZIP", if the remainder is 1 print "ZAP", otherwise just print the number.
If the input given is not an integer, the program must catch the exception and print out "Not an integer." then exit.
License type: "1 free end product".
Read more.
Reviews
Nobody has rated this offer yet.