Python1 Min Read LetuscrackonJune 10, 2024 Largest & Smallest Digits Difference A number N is passed as the input. The program must print the difference between the largest and the smallest digits in the number. Input…
Python1 Min Read LetuscrackonJune 10, 2024 Difference between sum of odd and even digits A number N is passed as input. The program must find the difference between sum of odd and even digits in the number and print the difference.…
Python1 Min Read LetuscrackonJune 10, 2024 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…
C2 Min Read LetuscrackonJune 10, 2024 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…
C1 Min Read LetuscrackonJune 10, 2024 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…
C1 Min Read LetuscrackonJune 10, 2024 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…
Java1 Min Read LetuscrackonJune 10, 2024 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…
C1 Min Read LetuscrackonJune 9, 2024 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…
C1 Min Read LetuscrackonJune 8, 2024 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:…
Python1 Min Read LetuscrackonJune 8, 2024 Words to Digits – Integers Sum The program must accept N integers as the input, but certain digits in some integers are denoted in words (in lower case). The…