+ 1
If we want that our computer asks for a no. or a string 2 times, how to do it by using cin >>?
Actually i want to write a code that can work like a calculator .
2 Answers
+ 2
You can just use cin multiple times or put it in loop with needed number of iterations.