digit

PythonF

Interchange First Digit

Two positive integers X and Y are passed as the input to the program. The program must interchange the first digits of X and Y and print them…
PythonF

Sum – Unit Digit 3 or 6

The program must accept N integers as the input. The program must print the sum of integers having the unit digit as 3 or 6 as the…
PythonF

Print Xth Digit from Last

Two integers N and X are given as input. The program must print the Xth digit of N from last. Boundary Condition(s):1 <= N <= 9999999991…
CF

Numbers with Unit Digit

Numbers with Unit DigitGiven two positive integers A and B and a digit U, the program must print all the integers from A to B (inclusive of A…