digits

PythonF

Two Digits Numbers Sum

Accept an array of N values and print the sum S of all the two digit numbers present in the array. If there are no two digit numbers, print…
PythonF

Digits Division Count

A number N is passed as input to the program. The program must print the count of digits which divide the number N without leaving a…
PythonF

Sum of Last X Digits

Given two integers N and X as input, the program must print the sum of last X digits in the given integer N. Boundary Condition(s):1 <= N…
PythonF

Remove First K Even Digits

The program must accept N integers and an integer K as the input. The program must remove the first K even digits among the digits of N…
CF

Adjacent Even Digits

The program must accept an integer N as the input. The program must print the digits surrounded by even digits on both sides. The first and…
CF

Double the Digits in Number

Given a positive integer N, the program must print double the value for each of it’s digits. Boundary Condition(s): 1 <= N…
CF

Product – Swap Unit Digits

The program must accept two integers X and Y as the input. The program must print the product of X and Y after swapping their unit digits as…