On Sunday, 30 April 2017 at 02:07:48 UTC, JV wrote:
> int func;
> writeln("\t\tEnter Selection : ");
> func = readln;
> writeln(func);
That shouldn't even compile... are you sure that's your actual
code, and that it is actually building successfully?