I am using inline function/functions, the program ask the user to input the number to have its double, I want to put a loop in the program, i put the loop after Cin>> but when i run the programs so nothing happened, so where to put the loop, I want to run the program for a number times until the user gives "Zero" as an input and then the program will terminates..
the above program works fine me also, I used #include <iostream> i forgot to write there,, My question is that how to place a Loop in this program... use a while loop in this program, so that it ask the user again and again for input, but when the user gives zero so the loop terminates...