Problem Statement 1

Write a program to find all the even numbers within the limit of an input integer value.

SAMPLE INPUT

Enter start value:

3

Enter end value:

10

SAMPLE OUTPUT

4 6 8

Sample Program:

Sample Output:

Enter the element start value:
1
Enter the element end value:
10
Even numbers are:2468

Any queries leave a comment please and thanks for reading this post.

Leave a Reply

Your email address will not be published. Required fields are marked *