I need to write an algorithm (step-by-step English phrases and not C++) that allows for the input of an integer value, doubles it, subtracts 10, and
displays the result. How would i write these steps in English phrases?? i am not asking for you to do this for me. just asking what it means by English phrases, and what they look like.
What you're doing here is just listing the steps. Step one, Have the user input value for integer, step 2, double the integer. The idea is that you know how to break down the task into steps. You then take the steps and write code for them (but they just want the steps for now)
So just like
Step one:Have user input int.
Step two: Double the int inputted by user
Step three: Subtract ten
Step four: display results
so you mean like that??
oh ok that's easy enough. thanks :)
You're welcome. I was doing the same thing like 2 weeks ago :cool: