Python1 Min Read LetuscrackonNovember 4, 2024 Sum of N numbers Number N is passed as the input. The program must accept N integer values and print their sum as the output. Input Format:The first line…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Divide Number by Sum of its Digits The program must accept an integer N as the input. The task is to compute and print the quotient obtained after dividing N by the sum of its…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Divide Number into Equal Size Groups and Sum Them The program must accept an integer N and divide it into groups of equal size (of 2 or 3 or 4 etc). Then, the program should sum up these…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Compare Sum of Odd Positioned and Even Positioned Digits The program must accept an integer N as the input. The task is to compare the sum of the digits at odd positions and even positions in the…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Spilt Array – Equal Sum The program must accept an integer array of size N as the input. The program must print YES if it is possible to split the array…
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…
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 the largest and smallest number in an Array. N numbers are passed as input to the program. The program must find the sum of the largest and smallest number in the Array. Input Format:The…
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…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Digital Sum – Compress Integer The program must accept an integer N as the input. The program must compress the integer N by concatenating the digital sum of every two…