#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
string input = " ";
cout << "Do you wanted to input : " << endl << "a. String" << endl
<< "b. Integer" << endl;
while (input != "A" || input != "a" || input != "B" || input != "b")
{
cin >> setw(1) >> input;
if (input == "A" || input == "a")
{
cout << "String" << endl; break;
}
else if (input == "B" || input == "b")
{
cout << "int" << endl;
break;
}
else
{
cout << "Please input only the given option." << endl;
}
}
}
#include <iostream>
#include <iomanip>
using n