If I were to make a basic addition calculater and say I wanted to have some thing lke this:
What would be the function I would use to place A+B at that position?Code:char a, b, c; cout<<"Input your first number:"; cin>>a; //While this number is input I would want to have it cout" /n Input your second number:"; //doing this cin<<b; //at this exact position :(A+B=(C) return a+b;
To do this I think ( I think) I would have to use the function getchar(). If you can help me please help. Thanks