I need to ask for the user's Initials and have it return their input. If they input any int I need it to loop back and ask them again.
int main()
{
// Program 1-1
std::cout<<"Hello, can you please enter your initials?\n";
char initials[50];
std::cin.getline(initials, 50);
while (std::cin != int)
{
std::cout << "Thank you. " << initials << std::endl;
}
else (std::cin.fail())
{
std::cin.clear();
}
}