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…
Python1 Min Read LetuscrackonJune 7, 2024 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…
C1 Min Read LetuscrackonJune 7, 2024 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…