Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

#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;

}

Explanation / Answer

please rate - thanks there were 2 problems. get rid of the else. you always wantto return value3, if it's be changed or not. you didn't put the returned value in a variable #include #include using namespace std; template T overunder(T value1, T value2, T value3) { if(value3 value2)     {        cout