Whats the statement for getting prime and odd numbers beginner here | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats the statement for getting prime and odd numbers beginner here

23rd Feb 2017, 5:01 PM
Siasu Oyused
Siasu Oyused - avatar
2 Answers
0
//for odd int n=3; if(n%2!=0) cout("number is odd");
23rd Feb 2017, 9:31 PM
Salman Mushtaq
Salman Mushtaq - avatar
0
i post a code "prime number" for you please find in my profile code section
25th Feb 2017, 10:36 PM
Salman Mushtaq
Salman Mushtaq - avatar