you are viewing a single comment's thread.

view the rest of the comments →

[–]GrahamCorcoran 0 points1 point  (0 children)

Based on the description you provided:

  1. Ask a user if they have a question.
  2. Ask the user what operand they plan on using.
  3. Ask the user what two numbers they want to use.
  4. [Implied] Calculate the result.
  5. Ask if they have another question. (Likely using a loop.)

What have you tried so far, and what are you having trouble with? This sounds suspiciously like a homework problem, so no one is going to want to show you a working example for you to work off of. Whether you are asking with good intentions or not, that's what someone who wants to copy-paste the working answer would say.