+ 1

How to create pseudocode

Create a pseudcode for the following operation 5+5=10 5/5*10

3rd Sep 2022, 11:04 AM
Luck
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
3rd Sep 2022, 12:10 PM
Ausgrindtube
Ausgrindtube - avatar
+ 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.
3rd Sep 2022, 4:11 PM
Ausgrindtube
Ausgrindtube - avatar
0
Thanks mate, but how to write that in programming languages
3rd Sep 2022, 2:21 PM
Luck
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
3rd Sep 2022, 2:23 PM
Luck
0
Thank mate, now I can submit my assignment.
3rd Sep 2022, 9:42 PM
Luck