I need some help with my variables in C(the basic one, not that new fangled plus stuff) <grin>. I have successfully defined two variables and would like to have a third that is the product of multiplying the first two:

float rate;

float hours;

float total = rate * hours

The program compiles and runs fine, except that it never gives me "total", all I get is 0.00 in the output.

Does anyone have any suggestions?

Thanks,

Guideon72