Question
I'm using a flow chart to try to write pseudo code. -Do I need quotation marks, i.e. print "A", print "B",etc? -Do I need to say something like input variables A, B,C thenread? -The conditional statement "if A>B" doesn't reallyhave a "then" following it, is this ok? -Is the logic ok (I double back with the "else if" and am notsure if that's ok). Lifesaver to best answer I'm using a flow chart to try to write pseudo code. -Do I need quotation marks, i.e. print "A", print "B",etc? -Do I need to say something like input variables A, B,C thenread? -The conditional statement "if A>B" doesn't reallyhave a "then" following it, is this ok? -Is the logic ok (I double back with the "else if" and am notsure if that's ok). Lifesaver to best answer
Explanation / Answer
-Do I need quotation marks, i.e. print "A", print "B", etc?No, because you are printing avariable. -Do I need to say something like input variables A, B,C thenread? That would make your pseudocode moreconcise. -The conditional statement "if A>B" doesn't reallyhave a "then" following it, is this ok? Yes,because it's pseudocode -Is the logic ok (I double back with the "else if" and am notsure if that's ok). Indenting would make itmore readable, but the logic looks ok.