was wondering if someone could help me on this slight problem my rogram compiles but a section doesnt seem to run..
}
void main()
{
clrscr();
int one, two, three;
char choice=' ', input[5];
while (choice != 'e')
{
cout<<"\nPlease enter +,-,*,/ or sqrt and then two numbers,\nsepperated by spaces, that you wish to\nadd,subtract,multiply,divide or sqrt.\nType e and press enter to exit.";
cin>>choice;
if (choice != 'e')
{
calc(choice);
}
}
}
- im trying to square root a number and find the answer.. i need to get the input into the last variable in order for it to square root and find the value..?
thats just a portion where im having trouble!