aanyachandel
New Member
- Joined
- Mar 26, 2024
- Messages
- 9
- Gender
- Female
- HSC
- 2026
i don't get this at all:
"Produce pseudocode and flowchart for the following:
Produce a function called has7or9 that will accept as input an array and return true if the array contains a 7 or a 9, otherwise it will return false."
i have the answer to only the flowchart (below), but i'm not sure how any of it came to be. why does n=0? how do i phrase the while loop????
my test is on monday and i am SCREWED
thanks in advance
"Produce pseudocode and flowchart for the following:
Produce a function called has7or9 that will accept as input an array and return true if the array contains a 7 or a 9, otherwise it will return false."
i have the answer to only the flowchart (below), but i'm not sure how any of it came to be. why does n=0? how do i phrase the while loop????
my test is on monday and i am SCREWED
thanks in advance