EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic: Matrix Manipulation Problem / Level: beginner
Problem:
Write a program to calculate the sum of all elements in the matrix divisible by both 5 and 11.
More Problems
Write a program to print all prime elements in the diagonals of the matrix.
Write a program to print all composite elements in the borders of the matrix.
Write a program to check if the sum of all diagonal elements is divisible by both 4 and 8.
Write a program to check if the product of all border elements is divisible by both 6 and 9.
Write a program to print all prime elements in the first and last rows of a square matrix.
Write a program to print all prime elements in the first and last columns of a square matrix.
Write a program to replace all even numbers in the matrix with their absolute values.
Write a program to replace all odd numbers in the matrix with their negatives.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...