/*
* A file to test our valid library.
*/

#include "valid.h"
#include <iostream>


using namespace std;

int main(void) {
 cout << "Enter a number from 1 to 10" << endl;
 cout << "You entered: " << getInt(1, 10) << endl;

 cout << "Enter a number from 1 to 10" << endl;
 cout << "You entered: " << getDouble(1.0, 10.0) << endl;

 cout << "Enter a letter from A to Z" << endl;
 cout << "You entered: " << getChar('A', 'Z') << endl;

 return 0;
}