Starting from:

$30

CSE341-Final Lab Solved

Write a program that takes two numbers as input from the user and prints all the numbers that end with a 6 between that range.

Here you have to handle taking single character inputs and then combining them to use them as 2 digit numbers. If there are multiple answers, then you have to print them in new lines.

Input 01:

10

20

Output 01: 16.

Here the answer is 16 because between the range 10 and 20, only the number 16 ends with a 6.

Input 02:

30

56

Output 02:

36

46

56

More products