Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Programming Help - Module question?

Okay so I have to design a program that uses modules that requires me to find the total cost of something... Without getting into specifics, the user is prompted to enter 2 inputs, and I am able to find the cost of labor, as well as the cost of paint in two seperate modules... How can I create a module that adds the result of the costOfLabor module and the costOfPaint module?

Total cost = cost of labor + cost of paint

Update:

Sorry, I forgot to add I am just creating a pseudocode program

There are no answers yet.
Be the first to answer this question.