Why wont it add up? What am I doing wrong?
int main (void)
r = h + b;
printf("The total hours studied is:%.3lf\n\n",&r);
Okay this is like an example of the code I wrote, everything seems to be working fine but my numbers wont add up. It just says 0.000. I've tried everything but I dont know how to fix it. What am I doing wrong? Am I missing a code?