i am coding at this paltform fist time and the problem is I do not understand how to take input at this compiler. code is working fine in offline compiler. I need help to learn how to write code here.
#include
#include<stdio.h>
#include<math.h>
int main()
{
int n;
static count=0;
cin>>n;
for(int i=1;i<=n;i++)
{
    if(n%i==0)
    count++;
}
if(count==2)
cout<<"Prime";
else
cout<<"Not Prime";
return 0;
}
