String check and Basic if-else
1. String should be declared as string variable , instead of using it as char c;
2. Nested if-else isn't really efficient, use it if you don't have any other option out.
3. Inputting string is easy, you can simply use std::cin>> variable