+ 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 .

12th Apr 2017, 2:11 PM
Rahul Sonia
Rahul Sonia - avatar
1 Answer
+ 2
You can just use cin multiple times or put it in loop with needed number of iterations.
12th Apr 2017, 2:29 PM
Jeth
Jeth - avatar