-5s
+5s
0:00
0:00 / 0:00

C programming Bangla Tutorial 5.112 : Prime number | মৌলিক সংখ্যা নির্ণয়ের জন্য A,F,C

231.5K views • 9 years ago
I have skip checking the number 1 and 2 intentionally. if you want to make it more efficient then you can easily add one more condition that will prompt the number 1 or 2 as prime. It is always better if you use your common sense.
if(num==1 || num==2)
printf("Not prime);
else {
//you may copy the existing code and check
}

All C programming videos:
https://www.youtube.com/playlist?list=PLgH5QX0i9K3oyeTjSeouVTyLPgS28OoGm
HSC ICT All videos : https://www.youtube.com/playlist?list=PLgH5QX0i9K3o8Y-CKhmyodbfHAc9VSVOv

website : https://www.studywithanis.com
Facebook : https://www.facebook.com/anisul2010s
Facebook page : https://www.facebook.com/studywithanis/
Up Next
Report video

Select a reason. Your report helps us keep the platform safe.

Report submitted. Thank you!
Official App
Get Better Experience
Download the official GoodPlay app for smoother playback and more features.
Download App