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…
C Java Python1 Min Read LetuscrackonJune 7, 2024 Alphabets and Sum of Digits The program must accept a string S containing only alphabets and digits as the input. The program must print the alphabets and then the sum of…
C Python1 Min Read LetuscrackonJune 7, 2024 Integer with Two Digits The program must accept an integer N as the input. The program must print YES if the integer N is formed using exactly two digits. Else the…
C Python1 Min Read LetuscrackonJune 7, 2024 Sum of Factorial of Digits The program must accept an integer N as the input. The program must print the sum of factorial of the digits in N as the output. Boundary…
C Python1 Min Read LetuscrackonJune 7, 2024 Sum & Product of Digits in N The program must accept an integer N as the input. The program must find the sum of digits S and the product of digits P in N. Then the…
C Python1 Min Read LetuscrackonJune 7, 2024 Integer – Exactly Three Digits The program must accept an integer N as the input. The program must print yes if exactly three digits are used to form the integer N. Else the…