like Matticus first said you're reassigning the value to the input value,
therefore you're removing the results wanted. rethink how to do that
Code:
// Input could have been 5 but gets reset to 1, then told to
// wait until it hits 20, so that is valid code,
// because it is doing what it is told to do, but ...
// not what you want because Input is being
// reset to 1, and
// no longer using the original
// value input off the command line.
(Input = 1; Input <= 20; Input++)
try using what Matticus suggested.
you have all of your constitutionals backwards.
Code:
do {
printf("Programming is cool\n");
Input++;
} while (Input <= 20);
// backwards use that against something else until it reaches whatever value is already inside of Input