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…
Python1 Min Read LetuscrackonJune 12, 2024 Even Sum or Factors The program must accept two integers M and N as the input. If M is even then the program must print the integers from 1 to N whose sum of the…
C Java Python4 Min Read LetuscrackonJune 12, 2024 Find the Sum of All Elements in a Matrix You are given a matrix of size R*C containing integers. Write a program to find the sum of all elements present in the matrix. Note: Make sure…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Embedded Numbers String S is passed as the input to the program. S will have positive numbers in it along with other characters. The program must print the sum…
C Python ZOHO1 Min Read LetuscrackonJune 11, 2024 Even Length Substring – Equal Sum Halves [Zoho] Even Length Substring – Equal Sum Halves: Given a string S as input which consists only of digits from 0 to 9, print the longest…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Even & Odd Numbers N numbers will be passed as input to the program. The program must print the sum of even numbers followed by the sum of odd numbers. Input…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of N Integers – Even Reversed The program must accept N integers and print the sum S of all POSITIVE integers with the even positive integers reversed. Input…