Question: LOOp Due 25 December 2023 19:30 Instructions Dear students... Write a program in C++ to check whether a number entered by the user is prime
LOOp Due 25 December 2023 19:30 Instructions Dear students... Write a program in C++ to check whether a number entered by the user is prime or not. (you must use loop) Hint: the prime number a whole number greater than 1 that cannot be exactly divided by any whole number other than itself and 1 (e.g. 2, 3, 5, 7, 11). Sample Output: Inout a number to check prime or not: 13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
