One way perhaps
Code:
struct pqueue
{
int numEntries[5];
struct entry entries[5][10];
}
pqueue;
Adding an entry is simply adding to the right queue, where H=0, h=1, n=2 etc.
If you just have the one queue, then you have to search all the entries to find out where the newEntry.prio should go, by comparing with all the pqueue.entries[i].prio.
Was your previous homework just 'queue'?
Because if you haven't managed to understand and implement a regular queue to begin with, then priority queue is just an unnecessarily large jump from your current experience.