Question: help me code this one with. c languange pls 6. An Old Man's Age by Codechum One day while Cody was playing with his friends

help me code this one with. c languange pls help me code this one with. c languange pls 6. An Old

6. An Old Man's Age by Codechum One day while Cody was playing with his friends in the woods, they stumbled upon a bearded old man living alone in his cabin. Cody and his friends were shocked that somebody could grow that old. Cody, refusing to believe that it is possible, asked the old man his age. The old man said, "My age is the sum of The Programmer and your teacher's ages subtracted by the age of your friend, Peter". Puzzled with this statement, Cody quickly tried to input the ages of The Programmer, his teacher, and his friend, Peter. Help Cody find out the age of the old man. Input Format The first line contains an integer representing the age of The Programmer. The second line contains an integer representing the age of his teacher. The third line contains an integer representing the age of his friend, Peter Input Sample 21 52 10

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!