Find the gender from a name
- by Ramesh
Hi guys, I recently confronted with a weird yet interesting question. The questions is as follows:
Need to write a program which can give the gender as output based on the name.
Example: INPUT -- John
Michael
Britney
OUTPUT-- male
male
female
So this is the output…