Hexaware Technologies Interview Question

basic coding question .code like palindrom,armstrong no