Write a program to input 5 numbers and print all the numbers having last digit 7
Answers
Answered by
1
Answer:
start = 7, end : 68 Output : 9 Number with same first and last digits are, 7 8 9 ... Input : start = 5, end : 40 Output : 8 ... has 9 numbers (all one digit number) having same starting and ending digit.
Input : start = 7, end : 68
Output : 9
Number with same first and last digits are,
7 8 9 11 22 33 44 55 66.
Input : start = 5, end : 40
Output : 8
Explanation:
HOPE IT HELPS YOU
Similar questions