Answer:
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int password;
cout << "Enter the password = ";
cin>>password;
if (password==1234 || password==1111 || password == 2222)
{
cout <<"User Secure";
}
else
cout<<"Please input more secure password";
getch();
}
Step-by-step explanation:
In this program, a variable of integer data type is stored in password variable. This variable compares with all three values in if statement by using OR(||) operator.