heres the code primeseries but it doesnt work
#include<iostream>
#include<conio>
void primeseries()
{ for(int m=2;m<10;m++)
{
for(int i=2;i<=m;i++)
{
for(int j=1;j<i;j++)
{
if (( m % i == 0 ) && ( i * j == m ))
{cout<<m;}
}
}
}
getch();}
void main(){
primeseries();
}
help