#include <iostream> #include <string> template <class T> T overunder(T value1, T
ID: 3617321 • Letter: #
Question
#include <iostream>
#include <string>
template <class T>
T overunder(T value1, T value2, Tvalue3)
{
if(value3 < value1 || value3> value2)
{
cout << "Invalid entry please try again:" << endl;
cin >> value3;
}
else
return value3;
#include <iostream>
#include "overunder.h"
using namespace std;
int main()
{
int ssan, zcode;
int lower = 100000000 , upper =999999999;
cout << "Enter SSAN: "<< endl;
cin >> ssan;
overunder(lower, upper, ssan);
cout << "SSAN is: "<< ssan << endl;
return 0;
}