i'm writing a program in c for school where the user write a number and the program say if it's a prime number or not
#include <stdio.h>
int main (){
int n, divisore;
divisore=2;
printf("dimmi un numero e ti dirò se è primo o no\n");
printf("inserisci il numero: ");
scanf("%d",&n);
while(divisore>n || n%divisore!=0){
divisore=divisore++;
}
if(n%divisore==0 && divisore!=n){
printf("%d non è un numero primo",& n);
}else{
printf("%d è un numero primo",& n);
}
}
the problem is in the last two printf but i don't understand what's wrong