What is the best and quickest way to implement the following types of commands on a pic micro ??

IF w = f then , IF w<>f then , IF w > f then , IF w < f then

I am new to PIC chips and your help would be well appreciated...Are there any good internet sources of info on programming code (such as a tutor) ??

Paul (Thanks)