Write in pseudocode a procedure called SURF which accepts two parameters called WAVES and STORMY in order to implement the following logic. When the ocean has large waves, WAVES is TRUE (otherwise it is FALSE). When the weather is stormy, STORMY is TRUE (otherwise it is FALSE). People like to surf when there are large waves at the beach and the weather is not stormy. Output TRUE if it is a day people would like to surf and FALSE if it is not.
Short Answer4 MarksPremium
21 Uses39 Views2 Likes
Login or Create an Account to view the mark scheme, comment, and add to a test