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…
Python1 Min Read LetuscrackonJune 8, 2024 Series using Sum of Digits The program must accept two integers N and K as the input. The program must generate a series of integers based on the…
Python1 Min Read LetuscrackonJune 8, 2024 Numbers – First and Last Digits Same N numbers A(1) to A(N) are passed as input. The program must print only the X numbers which have same first and last digit. Input Format:The…
Python1 Min Read LetuscrackonJune 8, 2024 Smallest number by rearranging digits of a given number Find the Smallest number (Not leading Zeros) which can be obtained by rearranging the digits of given number. Input: 846903 Output: 304689…
Python1 Min Read LetuscrackonJune 8, 2024 Prime Numbers – N Digits The program must accept N distinct digits as the input. The program must print all possible prime numbers…