0

How to design a c++ program which can test for a number to be prime or not.example 13

Question basing on the loops and statements

16th Jan 2020, 7:21 AM
Avith Katunz Thomas
Avith Katunz Thomas - avatar
1 Respuesta
+ 1
In this code there is a function prime which does that. It isn't the most efficient way but propably thr easiest. https://code.sololearn.com/c99STXWd94er/?ref=app
17th Jan 2020, 7:14 AM
Aleksander Szczepura
Aleksander Szczepura - avatar