The book tells of the seduction of a British schoolgirl by a dashing soldier, John Montraville, who brings her to America and there abandons her, pregnant and ill. As such, it belongs to the seduction novel genre popular in early American literature.
The novel opens upon an unexpected encounter between the British Lieutenant Montraville and Charlotte Temple, a tall, elegant girl of 15. Montraville sets his mind on seducing Charlotte and succeeds with the help of his libertine friend Belcour and Mademoiselle La Rue, a teacher at the boarding school Charlotte attends. Mademoiselle La Rue had herself eloped from a convent with a young officer and "possessed too much of the spirit of intrigue to remain long without adventures." Montraville soon loses interest in the young girl and, being led by Belcour to believe in Charlotte's infidelty towards him, trusts Belcour to take care of Charlotte and the child she expects.
Following the advice of her new-found friend and neighbor Mrs. Beauchamp, Charlotte writes home to her mother. Her parents decide to receive her, her father even goes to New York to come get her. Without any financial support - Belcour does not give her the money Montraville put into his hands for her - Charlotte has to leave her house and, having walked to New York on a snowy winter's day, asks the former Mademoiselle La Rue, now Mrs. Crayton, for help. But the now wealthy woman pretends not to even know her for fear of her husband discovering the role she played in the girl's downfall. Charlotte is taken in by Mrs. Crayton's servant and soon gives birth to a child, Lucy. The doctor, however, has little hope of her recovering and asks a benevolent woman, Mrs. Beauchamp, for help. Mrs. Beauchamp is shocked when she recognizes Charlotte Temple in "the poor sufferer". The following day, Charlotte seems "tolerably composed" and Mrs. Beauchamp begins "to hope she might recover, and, spite of her former errors, become an useful and respectable member of society", but the doctor tells her that nature is only "making her last effort" Just as Charlotte is lying on her deathbed, her father arrives and Charlotte asks him to take care of her child.
Upon returning to New York, Montraville goes in search of Belcour and Charlotte. Learning of her death and burial from a passing soldier, Montraville is filled with remorse for his part in her downfall, and angrily seeks out Belcour, killing him in a fight. Montraville suffers from melancholy for the rest of his life. Mr. Temple takes Charlotte's child back to England. The novel ends with the death of Mrs. Crayton (the former La Rue), who is discovered by Mr. Temple in a London doorway, separated from her husband, living in poverty, and repentant for her involvement in Charlotte's downfall. Mr. Temple admits her to a hospital, where she dies, "a striking example that vice, however prosperous in the beginning, in the end leads only to misery and shame."

Question: What was the gender of Charlotte's child?
Answer: Female/girl.
Alternative answer: Girl