[Solved] Console doesnt display histogram

[ad_1]

getchar is still an int by the POSIX and C standards. Did you forget to include stdio.h or include something that redefines it? This example works for me:

#include <stdio.h>
int main()
{
  int c;
  c = getchar();
}

[ad_2]

solved Console doesnt display histogram