السلام عليكم
سويت هذا الكود لايجاد العدد الاولي بس لما اضغط على debugg يطلع (يتعذر على النظام العثور على المسار) ماادري اش المشكله
#include<iostream>
using namespace std;
void main()
{
int n ,i;
cout<<"enter your number";
cin>>n;
for(i=1;i<=n;i++)
if (n/i == n || n/n==n)
cout<<"prime";
else
cout<<"unprime";
}