Question: C++, I need help with debugging, not sure why I keep getting wrong answer from lb oz to kilo g and kilo g to lb

C++, I need help with debugging, not sure why I keep getting wrong answer from lb oz to kilo g and kilo g to lb oz, please help debugging , it's the problem #7  C++, I need help with debugging, not sure why I keep
getting wrong answer from lb oz to kilo g and kilo g
to lb oz, please help debugging , it's the problem #7 Start
here :hw#8-9.cpp X|hw#874pp ects include linclude 4 nsing namespace std: 5 void
userInput (doables weight_in_pound, doubles weight_in_ounces, doubles weight in kilo, doubles weight in
g 6 void calculation poundandgram (double weight in_pound, double weight in_ounces, doubles

Start here :hw#8-9.cpp X|hw#874pp ects include linclude 4 nsing namespace std: 5 void userInput (doables weight_in_pound, doubles weight_in_ounces, doubles weight in kilo, doubles weight in g 6 void calculation poundandgram (double weight in_pound, double weight in_ounces, doubles calculation_kilo, doub 7 void output kiloandgram (double calculation kilo, double calculation_gram): 8 void output poundandounce (double calculation pound, double calculation ounce) 10 int main 12 13 14 15 16 17 18 19 20 21 double pound, ounces double kilo, gram donble calculation_kilo, calculation_gram double calculation pound, calculation ounce: int choice: userInput (pound, ounces, kilo, gram, choice. calculation kilo calculation_gram, calculation pound, calcul return o: 23 void userInput (doubles weight_ in pound, doubles weight_in_ounces, doubles weight_in_kilo, doubles weight in_gr 26 27 28 cout>choice: if (choice-1) 30 31 coutcc Please enter the weight in pounds" ainooweight in_pound: coutcc"Please enter the wight in ounces" eino>veight in ounces: output-kiloandgram (calculation kilo, calculation-gram 34 35 36 37 38 39 0 41 else if (choice--2) cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!