0

How do i identify my variables a pseudo code and is the certain terminology that we use in pseudo code?

Pseudo code, newbie to java programing

10th Mar 2020, 3:05 PM
Faith Khosa
6 odpowiedzi
+ 1
Thank you Honfu and Samuel, let me give a try
10th Mar 2020, 5:07 PM
Faith Khosa
0
the terminology for a variable assignment in pseudo code is a left facing arrow (<-). eg max <- i , meaning the value of i is assigning to the variable named max
10th Mar 2020, 3:09 PM
Samuel
Samuel - avatar
0
Can I also use an = sign to show it in the same way?
10th Mar 2020, 3:11 PM
Faith Khosa
0
Pseudocode has no fixed rules, that's why it's called 'pseudo'. You can use any style, as long as it helps you or others getting a better grasp of what you're going to do.
10th Mar 2020, 3:18 PM
HonFu
HonFu - avatar
0
Oh okay, one last thing,when selecting my variables from a given problem statement, how do I pick the variables to assist me to go further with my steps that will follow?
10th Mar 2020, 3:21 PM
Faith Khosa
0
You mean, which variable names to choose in your pseudocode? Well... as I said there are no rules (otherwise it would be called 'code' without the 'pseudo'). You can use what makes most sense to *you*.
10th Mar 2020, 3:31 PM
HonFu
HonFu - avatar