1.1 Study the following description and then write a function call as well as a complete function definition or implementation to calculate and return the answer in an algorithm.
1.1.1 The function must determine and return the results if an angle is equal to 90 degrees, display the message “The angle is a right angle”; else display the message “The angle is not a right angle”.
1.1.2 If getResults(summative1, summative2) = true The function must determine and return results to indicate if the student has passed or not. The student will pass the module if the final mark of one of the summative test mark is 50 and above.
Comments
Leave a comment