Answer:
#include <iostream>
using namespace std;
int main()
{
int years;
cout<<"enter the number of years of school: ";
cin>>years;
cout<<"The educational level is: "<<years<<endl;
}
Step-by-step explanation:
First include the library iostream in c++ program for input/output.
then create the main function and declare the variable.
after that, display the message by using cout instruction for asking the user to enter the value.
then, cin instruction store the value in the declare variable.
finally, display the message with corresponding value.