I'm making user defined function which will repeat when i will press any key except 'a' it will print 'Hey'. and when 'a' is pressed it will print 'bye'.
but having some troubles please correct the code it shows error that declaration terminated incorrectly