Okay, so this is only a portion of my code, but what I have to do is have the user enter their weight, and then choose from options like eat cake, pizza, work out, and a few others. If they choose eat easy work out, they enter the number of hours they worked out, and then they're new weight and amount of weight lost. When printed, the weight is only the number calculated and not the weight minus the weight burned. How do I fix this?
int easyWorkOut(int weight){
int easyWorkOut = 0;
int weightLostEasyWO = 0;
printf("How many hours did you work out?");
scanf("%d", easyWorkOut);
weightLostEasyWO = easyWorkOut * 0.025;
weight = weight - weightLostEasyWO;
return weight;
printf("Your current weight is %d pounds. You lost %d pounds. \n", weight, weightLostEasyWO);
pause;
} //end easyWorkOut
int weightEntered(){
int weight = 0;
printf("Please Enter Your Weight: ");
scanf("%d", &weight);
} //end of weightEntered