Python1 Min Read LetuscrackonNovember 18, 2024 Sum of odd numbers from M to N Two numbers M and N are passed as the input. The program must print the sum of odd numbers from M to N (inclusive of M and N). Input…
Python1 Min Read LetuscrackonNovember 17, 2024 Sum of even numbers from M to N Two numbers M and N are passed as the input. The program must print the sum of even numbers from M to N (inclusive of M and N). Input…
Python1 Min Read LetuscrackonNovember 11, 2024 Sum of Tenth and Unit Digits The program must accept a number N and print the sum of tenth and unit digits. Input Format:The first line denotes the value of N. Output…
Python1 Min Read LetuscrackonNovember 7, 2024 Space Separated Integers Sum In Python A single line consisting of a set of integers, each separated by space is passed as input to the program. The program must print the sum of…
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…