THIS IS DUE WEDNESDAY !! APRIL 12
Use the AlienSpacecraft class for this assignment.
See here:
[login to view URL]
(Cut and paste the class into Eclipse)
Refer to chapter 8 in your book and class notes for help.
Step 1
Create a main() function and instantiate an AlienSpacecraft object
Step 2
Create a while loop with the following menu items:
1) Add ammunition (1 - 10)
2) Set velocity (0 - 10)
3) Set direction (north, south, east west)
4) Fire weapons
5) Print current values
6) Exit
The program should continue to run until the user selects option #6.
Allow the user to enter a menu item and then execute the appropriate
AlienSpacecraft method. For example, if the user chooses menu item #2
ask the user to enter a velocity value and then execute the
setVelocity() method for the alien spacecraft.
If the user chooses menu item 4, execute the fireWeapons() method.
Step 3
In main(), be sure to check for exceptions raised by the class methods
and print the appropriate error messages.
Hi :) I am a Python developer and would love to create work on this project for you! I have seen the code link you gave and ready to discuss further. Just to ask, which Book is being referred to, Chapter 8, in the description?
Ready to discuss in detail and get it done perfect!