If you want to give some options to user, you can use switch. Switch take action based on exact variable value.
#include <iostream>
using namespace std;
int main(){
int numr;
cout << "Number : ";
cin >> numr;
switch(opsi){
case 1:
cout << "Your number is one";
break;
case 2:
cout << "Your number is two";
break;
default:
cout << "Your choose other number";
break;
}
cout << "finished";
return 0;
}