#include #include using namespace std; bool so_nguyen_to(int n) { for (int i = 2; i <= n/2; i++) { if (n % i == 0) return false; } return true; } int main() { int n; bool nguyento = true; cout<<"Nhap n: "; cin>>n; for (int i = 2; i <= round(sqrt(n)); i++) { if (n % i == 0) { nguyento = false; cout<