Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Programming assignment: If you add the age of six people, Alice, Barb, Carol, De

ID: 3541894 • Letter: P

Question

Programming assignment: If you add the age of six people, Alice, Barb, Carol, Dean, Eric and Fred the total is 92. Alice is twice the age of Carol. The total age of Barb and Eric equals that of Fred. The total age of Alice and Carol equals the total age of Barb and Fred. Carol is 8 years younger than Fred. If you subtract the age of Eric and Carol from Dean the result is 10. What is the age of each person?

Write a script that will allow the user to solve a set of simultaneous equations. The script should allow the user to enter the name of the data file.

Explanation / Answer

In what programming language?