Write a function to check whether a given number is prime or not.

Related Book For  answer-question

Accounting Information Systems

ISBN: 978-0133428537

13th edition

Authors: Marshall B. Romney, Paul J. Steinbart

Posted Date: