Mine
public text v1 · immutable#include<iostream>
using namespace std;
bool GetChar(char Low, char High, char Input)
{
if((Input > Low)&&(Input < High))
{
cout<<"This is a valid entry"<<endl;
return true;
}
else
{
cout<<"This entry is invalid"<<endl;
return false;
}
}
int main()
{
char Low = 'A';
char High = 'F';
char Input;
cout<<"This program will ask the user to input a char inside a"<<endl;
cout<<"specific range"<<endl;
cout<<endl;
cout<<"Please enter a letter: ";
cin>>Input;
cout<<GetChar;
}