Write a C++ program that inputs a number from the keyboard between 0 and 49 and then uses a for or while loop to display every integer that follows the integer that is input and that is evenly divisible by 4. The last number that will be displayed is 100. In other words, if the number you input from the keyboard is 45, your program will output
48 52 56 60 … 92 96 100
Or if your input is 40, your program will output
44 48 52 56 … 92 96 100
Your program does not have to run multiple times. One line of numbers per a.out is sufficient.
Place an error trap in your program that will reject any keyboard inputs < 0 or > 49. Use any wording you wish for the input prompt.
Can someone please help me with this program, having trouble writing it