+ 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

26th Jul 2022, 1:07 PM
Sedem Krispat
3 Answers
+ 2
No, thanks, but if you need help doing so, please show your attempt. :)
26th Jul 2022, 1:10 PM
Justice
Justice - avatar
+ 2
Please tag the relevant programming language and show your code attempt.
26th Jul 2022, 1:11 PM
Lisa
Lisa - avatar
+ 1
Int n; If(n>=0) Cout<< n is positive Else cout<< n is negative
28th Jul 2022, 10:51 AM
BIVAMWIJURU SILAS
BIVAMWIJURU SILAS - avatar