how do i use swap boolean in pseudocode of replit
I’m not sure I understand your question, can you please re-state it? And a Repl link would make it easier for us to help you.
2 Likes
Uh, it’s pseudo code. However you want.
1 Like
well, what A(S) Level CIE calls pseudocode is an actual language used in exam questions. You get an insert in the exam with the “pseudocode” functions & operators, but it’s good to understand the language before exams so you don’t have to think about syntax
not sure what you mean by “swap boolean”. To change whether a condition is true or false, you use NOT <condition>
2 Likes