Now we have to use the program to create an ultra-simplePokenmon pairing mechanism.
1. First create a class called Pokenmon, which must be enteredwhen it is created.
Name, Power (attack), Defense (defense), Hp (blood) fourparameters.
2. Write a function name under the class compared to Info, usethis function to display the only
Pokenmon’s information (example on the next page).
3. Write a function called attack under this class, use thisfunction to make the order
The target Pokenmon buckles (cut Hp), the following requirementsare in the function.
(1) If the attacker has ... View full description