Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
about string
Strings are nothing but a series of characters stored in a particular variable.
you can take a sentence as an input from the user using string, whereas when you use char it should be like Y/N.
I hope this helps.