I tried using Actors but it isn't working. It says the words "write" and/or "read" aren't declared. Im writing this for CH is there any other way I can do it, or other words? (We've been using cout and cin things)?
Now that you have been working on Ch programs for the past few weeks, you should have become more familiar with the process of translating a problem/solution description into code. In this lab, you are given a problem statement that makes use of the programming elements learned over the past few weeks. You are expected to devise an algorithm to solve this problem and translate it into code. You are expected to work on your own. Some hints are given at the end of this handout to help you with this process. Remember that your code will not look like everyone else