1. Write a discriminant function of prime, in the main function input an integer, output whether it is a prime information. Urgent! Thank you!

1. Write a discriminant function of prime, in the main function input an integer, output whether it is a prime information. Urgent! Thank you!

#include
int sushu(int);
main()
{
int a;
printf ("enter an integer):";
scanf("%d",&a);
if(sushu(a)==1)
;
else
printf ("not prime");
}
int sushu(int x)
{
int i;
for(i=2;i