Hey, so now today our computer teacher gave us a program to write which has to act as a calculator, don't know how's that possible so I used 2 addition values, 2 subtraction values, 2 multiplication values and 2 division values, the program also has to use cascading so here's what I made :
The calculator works fine, the problem with it is, The enter values for addition lines are useless as the program doesn't inputs the values after the "Addition values here" instead it prints all the cout lines and then the input, I could solve this problem with multiple cout lines but we're not allowed to do that, so I was thinking may be you guys could help me out with the problem?
Er...Nisheeth thanks for the help, but I did mention at first that we have to make this program using cascades, and so I can't break the cin and cout commands into pieces, if I was allowed to do I would've done so, btw yeah I know it's int, but well the void one goes ok with the visual 2010 compiler.