Please make this C++ code repetitve to use over and over (please answer urgently)
Help to repeat C++ Calculator in my C++ code post --Help Me Out. #include<iostream> using namespace std; int main() { int ans; int a; int b; int c; int d; int e; int f; int g; int add; int sub; int mult; int div; cout<<"Use Any Function \n Type-1 for addition: \n Type-2 for subtraction: \n Type-3 for multiplication: \n Type-4 for division: "; cin>>ans; if(ans==1) { cout<<"Okay first number to add:"; cin>>a; cout<<"Write second number:"; cin>>b; add=a+b; cout<<"Your answer is:"<<add; } if (ans==2) { cout<<"Type number:"; cin>>c; cout<<"number subtracted by:"; cin>>b; sub=c-b; cout<<"Your answer is:"<<sub; } if(ans==3) { cout<<"Type number to multiply:"; cin>>d; cout<<"Multiplied by:"; cin>>e; mult=d*e; cout<<"Your answer is:"<<mult; } i