Answer to Question #199411 in C# for Nkhululeko Chabala

Question #199411

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.


1
Expert's answer
2021-05-27T19:09:38-0400
public bool isPass(int mark)
{
   return mark >= 50;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS