Calculator Oop
Calculator Oop
Calculator Oop
header files
using namespace std; //standard library
int main()
//initializing main function
{
char c; //variable
declearation
float n1,n2;
cout<<"Enter the operation to be perform\n +\t-\t*\t/\
t";//operation to be performed
cin>>c;
cout<<"Enter first number:\t";
//printing first number
cin>>n1; //scaning
first number
cout<<"Enter second number:\t";
//printing second number
cin>>n2; //scaning
second number