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 Combine Two Numbers by Alternating Digits The program must accept two integers A and B as the input. The task is to combine the numbers by alternating the digits. If one number runs…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Average of Prime Digits The program must accept an integer N as the input. The task is to calculate the average of all the prime digits present in the number and…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Check if All Digits Are Perfect Squares The program must accept an integer N as the input. The task is to check whether all the individual digits in the number are perfect squares.…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Difference – Sum of Odd and Even Digits Given a maximum of hundred digits as the input. The program must print the difference between the sum of odd and even digits as the output. If…
C1 Min Read LetuscrackonJune 12, 2024 C – Find the sum of odd digits in a given number. A number N is passed as input to the program. The program must find the sum of all odd digits present in the program and print the sum as the…
Java1 Min Read LetuscrackonJune 11, 2024 Digits Printer Given a number N. print all the digits of the number N in descending order. Boundary Condition:0 <= N <= 99999999999999 Input…
Python1 Min Read LetuscrackonJune 11, 2024 Order digits based on the frequency A string consists of digits from 1-9 will be passed as input. The program must print the digits sorted based on the number of occurrence. If…
C Python TCS CodeVita1 Min Read LetuscrackonJune 11, 2024 Exchange Digits – TCS CodeVita Compute the nearest larger number by interchanging its digits updated.Given 2 numbers a and b find the smallest number greater than b by…
C Python1 Min Read LetuscrackonJune 11, 2024 Two Digits Numbers Sum Accept an array of N values and print the sum S of all the two digit numbers present in the array. If there are no two digit numbers, print…