XP

Challenge
No

Write a program that computes how many experience points (XP) a player earns in a game. They earn XP from killing things like rats, and zombies. You can download this starting workbook.

Here's the start screen:

Start

The user enters numbers in the cells, and clicks the button. Here's some sample output:

Output

Here's what each critter is worth:

Critter XP each
Bat 5
Rat 7
Wolf 20
Zombie 25
Goblin 30
Hobgoblin 50

Upload your solution. The usual coding standards apply.

Attachments
Where referenced