C Python1 Min Read LetuscrackonJune 9, 2024 2D Matrix Absolute Difference Diagonals Elements Sum A Square Matrix has N rows and N columns. Get the matrix as input and find the absolute difference between the sum of the values in the two…
C1 Min Read LetuscrackonJune 9, 2024 Integer – Sum of Digits The program must accept an integer value N as a command line argument and print the sum of the digits in N.Example Input/Output…
C1 Min Read LetuscrackonJune 9, 2024 Matrix – Sum of Edge Elements The input elements of R*C matrix is passed as the input (R is the number of rows and C is the number of columns in the matrix. The program…
C1 Min Read LetuscrackonJune 8, 2024 Position Digits Sum The program must accept two positive integers as the input and then print the sum of their unit digits, tenth digits and so on. Input Format:…
C1 Min Read LetuscrackonJune 8, 2024 Square Matrix – Corner Elements Sum A square matrix of size N*N is passed as input. The program must calculateand print the sum of the elements in the corners. Example 1:…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Integers Sum – Split, Sort and Merge The program must accept N integers as the input, where each integer contains a pipe symbol. The program must find the sum of the…
Python1 Min Read LetuscrackonJune 8, 2024 Words to Digits – Integers Sum The program must accept N integers as the input, but certain digits in some integers are denoted in words (in lower case). The…
Python1 Min Read LetuscrackonJune 8, 2024 Series using Sum of Digits The program must accept two integers N and K as the input. The program must generate a series of integers based on the…
Python1 Min Read LetuscrackonJune 8, 2024 Array Maximum Sum Divisible By N n array of numbers separated by space will be passed as input. A number N is also passed as input. The program has to print the maximum sum of…
Python1 Min Read LetuscrackonJune 8, 2024 Find the digital sum A number N is passed as an input to the program. The program must print the digital sum of the number. Note: The digital sum of a number is…