getchar() not accepting 'ans' value

Printable View