digits

JavaF

First and Last Odd Digits

Given N positive integers, the program must print the integers if the first and last digits are odd digits. Boundary Condition(s):1 <= N…
CF

Integer – Sum of Digits

The program must accept an integer value N as a command line argument and print the sum of the digits in N.Example Input/Output…
CF

Position Digits Sum

The program must accept two positive integers as the input and then print the sum of their unit digits, tenth digits and so on. Input Format:…
PythonF

Toggle – Digits and Words

The program must accept a string S which contains digits as integer values and words. The program must toggle the digits to words and words to…
CF

Print Digits – X and Y

The program must accept two integers X and Y as the input. The program must print all the digits from the unit digit of X…