i've tried run this program many times but i still didn't get the solution..so could someone help me to modify this coding?
the output should add the current value with the new user input. for example, if the current value is 1 and the user input also 1. the answer should be 2..but what i got with this coding was 11..
Code:
current->h10 += hp10; current->h30 += hp30; current->c10 += cp10; current->c30 += cp30; current->d10 += dp10; current->d30 += dp30;
Comment