Well I`d only like to ask whether there is any difference in speed. I mean, if I was doing a problem where there are no chances of getting the wrong values, which would be faster?
In reality I'd hardly even consider the speed difference between the 2 approaches. If your worried about speed, then the speed of a cin/cout should be the last place your looking.