loop not working, any answers please, some variables are not used ..i know, but it will not get out of the loop
#include <stdio.h>
#include <stdlib.h>
int main(){
    char name;
    int Employees=0, idnum;
    float Low=99999, High=0, earnings, Tearnings=0, Avgearnings;
    while(name != "xxxx"){
        if(earnings < Low)
        {
            Low = earnings;
        }
        if (earnings > High)
        {
            High = earnings;
        }
    printf("Enter name\n"); 
    scanf("%s", &name);
    printf("Enter earnings\n"); 
    scanf("%f", &earnings);
    Tearnings = Tearnings / earnings;
    Employees = Employees ++;
    }
    Avgearnings = Tearnings / Employees;
    printf("Average earnings: %2f", Avgearnings);
    printf("Lowest Earnings: %2f", Low);
    printf("Highest earnings: %2f", High);
    return 0;   
}
it will not exit the loop
 
     
    