How do I change User Input to display in Italic font style?
let's say user inputs a word, then display that word in italic font
Thank you
That depends entirely on what libraries you're using for your user interface.
i need to use only string and iostream
Neither of those libraries support the functionality that you are looking for. The font is a feature of the shell the program is running on.