sum

PythonF

Diagonal Sum

A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers along the diagonals. Input Format: The…
PythonF

Sum – Unit Digit 3 or 6

The program must accept N integers as the input. The program must print the sum of integers having the unit digit as 3 or 6 as the…
CF

Reversed Sum of Pairs

An array of N integers is passed as input. The program must print the sum of every two consecutive elements in the array from last. Boundary…
CF

Matrix Maximum Column Sum

An integer matrix of size N*N is given as input. The program must print the maximum column-wise sum of the matrix. Boundary Condition(s):1…