I don't have a clue why this little test program I made for a text based rpg doesn't work.

According to the tutorial I read on structures, it should work fine.

Code:
#include <stdio.h>

void info(int enemy_id);

void fight(int hp, int dam);

int main() {

    int enemy_number;

    enemy_number = 1;

    info(enemy_number);

return 0;

}

void info(int enemy_id) {

struct enemystats {

       int hp;
       int dam;

       }

       struct enemystats bear; <---read below what I write #1
       struct enemystats dog;

if (enemy_id == 1) {

   bear.hp = 150;
   bear.dam = 75;
   }

   if (enemy_id == 2) {

   dog.hp = 75;
   dog.dam = 45;

   }

   else exit(0);

   fight(hp,dam); <---read below (#2)
}


void fight() {

             printf("The monster's hp is %d",hp);
             getchar();
             return;

             }
DevC is my compiler (for what it's worth)

#1 - The compiler says, "Two or more data types in declaration of bear".

Well, according to the tutorials I've read on structures, what I typed there should make a new member in struct enemystats, which can then be used like "bear.hp" and "bear.dam" - what gives?

#2 - The compiler says, "'hp' undeclard (first use in this function)"
Actually, I see what that means. Which means that I'm not going to be able to accomplish this using structures to load the stats...I guess I'll try and do something with an array. Basically I wanted it to be where when you walk into a certain room in this game i'm gonna make, if you see a certain type of monster, the program goes to get the info on that particular monster, then passes on the relevant stats (hp for hitpoints, dam for damage) to a fight function.

But I'd still like to know the awnser to question number 1, that doesn't make sense to me.

Thanks in advance,

Ash