I've been trying to Use cin to input the number of times a while loop will run but it never works. I've tried it on a simple program, input a number and have the program count from 1 to that number but every time it only counts to zero. Could someone please tell me what i have wrong, I have tried everything I could think of.