+ 1
Loops
I need help on how to write a program that accepts a positive number and determines whether the number is prime or not. https://code.sololearn.com/chw3BGKcFEJ8/?ref=app
3 Respuestas
+ 2
No, thanks, but if you need help doing so, please show your attempt. :)
+ 2
Please tag the relevant programming language and show your code attempt.
+ 1
Int n;
If(n>=0)
Cout<< n is positive
Else
cout<< n is negative