Prime Number Program in C++ Get link Facebook Twitter Pinterest Email Other Apps January 04, 2024 #include <iostream.h> #include <conio.h> void main() { clrscr(); int n, i, m=0, flag=0; cout << "Enter the Number to check Prime: "; cin >> n; m=n/2; for(i = 2; i <= m; i++) { if(n % i == 0) { cout<<"Number is not Prime."<<endl; flag=1; break; } } if (flag==0) cout << "Number is Prime."<<endl; getch();} Get link Facebook Twitter Pinterest Email Other Apps
kerala state rutronix fundamentals & operating system malayalam notes with previous Q&A December 27, 2021 പ്രിയപ്പെട്ട വിദ്യാർത്ഥികളെ, കേരള സ്റ്റേറ്റ് റൂട്രോണിക്സ് ഫണ്ടമെന്റൽ & ഒ.എസ് മലയാളം നോട്സും പ്രീവിയസ് ചോദ്യ പേപ്പറും ഉത്തരങ്ങളും.. 👇👇👇👇 (1). Click here (മലയാളം) (2). Click here (English Question Bank) Read more