Question #204263

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.


Expert's answer

  static bool isPass(int mark){
    return (mark >= 50);
  }
LATEST TUTORIALS
APPROVED BY CLIENTS