Write a user defined method named isPass that can be used to determine whether a mark is a pass mark (greater or equal to 50). The method must take as input a mark, and return a boolean, indicating whether the mark was a pass mark.
static bool isPass(int mark){
return (mark >= 50);
}
Comments
Leave a comment