This assignment requires me to output the lowest possible divisor using a while loop. I think I have most of it down but I can't get the right output I'm looking for. I keep getting 0 as an output and I understand that it's the remainder from the mod but I don't know how to output something other than 0.

```
#include <stdio.h>

int main(void)
{
    int divisor;
    int dividend;
    int lpd;
    int remainder;

    divisor=2;

    printf("Enter a number to divide: ");
    scanf("%d", &dividend);

    while(remainder!=0)
    {
        lpd=dividend%divisor;
        divisor++;
    }

    printf("%s %d","The lowest positive divisor is: ",lpd);
}

```