please help with this program i dont know whats wrong.
#include <stdio.h>
#include "strlib.h"
#include "simpio.h"
#include "genlib.h"
#include "string.h"
void reverse(void);
int main()
{
printf("Please enter a sentence and end the sentence with a -\n");
reverse();
system("Pause");
}
void reverse(void)
{
int ch;
if(getchar(ch) != EOF)
{
reverse();
putchar(ch);
}
}