The required program is written in C++ that assigns the variable isTeenager with 'true' if the variable 'kidAge' has values between 13 to 19 inclusively; otherwise, assigns 'isTeenager' with 'false'.
#include <iostream>
using namespace std;
int main()
{
bool isTeenager;
int kidAge;
cout << "Enter Kid Age = " ;
cin>> kidAge;
if ((kidAge >= 13) && (kidAge <= 19))
{
isTeenager = true;
}
else
{
isTeenager = false;
}
if (isTeenager)
{
cout << "Teen" << endl;
}
else
{
cout << "Not teen" << endl;
}
return 0;
}
The output of the program is attached below:
You can learn more about C++ programs at
https://brainly.com/question/13441075
#SPJ4