C Java Python1 Min Read LetuscrackonJune 12, 2024 Count Zeroes Surrounded by the Same Digit The program must accept an integer N as the input. The task is to count the number of zeroes in the number which are surrounded by the same…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Adding a Digit to Maintain Ascending Order The program must accept a number N as input. Determine if it’s possible to add at most one digit (0-9) anywhere in the number to make…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Count of Digits That Are Less Than Previous Digit The program must accept an integer N as the input. The task is to count and print the number of digits in N that are less than their immediate…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Reframe with Hundredth Digit The program must accept an integer N and a sum value X (sum of unit digit, tenth digit and hundredth digit of N) as the…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Add Square of Each Digit to the Number Given a number as the input, compute the new number by adding the square of each of its digits to the original number. If the input is not a…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Even Sum of Unit Digit and Tenth Digit The program must accept two integers X and Y as the input. The program must print the integers having the sum of the tenth…
Python1 Min Read LetuscrackonJune 11, 2024 Print – Only Three Digit Numbers The program must accept a string S and print only the three digit numbers in it (in the order of occurrence). The most significant digits can…
Python1 Min Read LetuscrackonJune 11, 2024 Multiply N with Unit Digit The program must accept a positive integer N and print the value of N multiplied with it’s unit digit. Boundary Condition(s):1 <= N…
Python1 Min Read LetuscrackonJune 11, 2024 Next Multiple with Unit Digit D A positive integer N and a digit D are passed as input to the program. The program must print the first multiple of N (which is greater…
Python1 Min Read LetuscrackonJune 11, 2024 Interchange First Digit Two positive integers X and Y are passed as the input to the program. The program must interchange the first digits of X and Y and print them…