Is there any one can write a c++ code that can i identify whether the number is prime or composite | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any one can write a c++ code that can i identify whether the number is prime or composite

Use user inpute

5th Apr 2018, 8:50 AM
Abduselam
Abduselam - avatar
3 Answers
+ 3
Have you tried searching the Code Playground for examples? use the search feature to find codes written for the purpose with keyword "prime" or "composite" and pick the language of choice from the language filter to the rightmost from the search bar. Best of luck : )
5th Apr 2018, 8:59 AM
Ipang
5th Apr 2018, 9:04 AM
🇮🇷 M N
0
https://code.sololearn.com/cuuU0HZJ50QD/?ref=app
5th Apr 2018, 9:09 AM
Bebida Roja
Bebida Roja - avatar