+ 1
How to create pseudocode
Create a pseudcode for the following operation 5+5=10 5/5*10
5 Answers
+ 4
Pseudocode is basically a step between your natural language and the programming language.
Your two equations are very close to pseudocode already. The second one is probably a bit silly if the order of operations go from left to right.
Pseudocode example:
int sum = 5 + 5
Output sum
int equation = 5/5*10
Output equation
+ 3
Luck I don't think you want pseudocode then. The idea after writing the pseudocode is that you now look up/for those elements in the language and program it.
Which programming language do you want it in?
*****edit******
Sorry, didn't see your other reply. That looks like a good form of pseudocode to me.
0
Thanks mate, but how to write that in programming languages
0
Look at my work. I don't know if I'm right. Please correct me
start
input myNumber1 = 5
input myNumber2 = 5
set myAnswer = myNumber1 + myNumber2
output myAnswer
stop
0
Thank mate, now I can submit my assignment.