Highest Frequency Character

Write a program to find highest frequency character in the given string.

C    PYTHON

#include<stdio.h>
int main(){
  char str[100], ch;
  int i,j,c1,c2=0;
  fgets(str,100,stdin);
  for(i=0;str[i+1]!='\0';i++){
    c1=1;
    for(j=i+1;str[j]!='\0';j++){
      if(str[i]==str[j])
        c1++;
    }
    if(c2<c1){
      c2=c1;
      ch=str[i];
    }
  }
  printf("%c %d",ch,c2);
  return 0;
}

hello developer how are you?
e 5