#include "iostream.h"#include "conio.h"void main(){int n,j,r;cout<<"ENTER ONE NUMBER\n";cin>>n;for(j=1;j<=n;j++){r=n % j;if (r==0){cout<<" "<<j;if (j!=n){cout<<" , ";}elsecout<<" ";}}getch();}