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 print all perfect cubes in the borders of the matrix.
More Problems
Write a program to replace all even elements in the matrix with the greatest common divisor (GCD) of their row and column indices.
Write a program to replace all odd elements in the matrix with the least common multiple (LCM) of their row and column indices.
Write a program to print the matrix elements in reverse zigzag order row-wise.
Write a program to print the matrix elements in reverse zigzag order column-wise.
Write a program to check if the sum of all elements in the middle row is greater than the sum of all elements in the first row.
Write a program to check if the sum of all elements in the middle column is greater than the sum of all elements in the last column.
Write a program to calculate the sum of all elements in the matrix divisible by 2, 3, and 5.
Write a program to calculate the product of all elements in the matrix divisible by 4, 6, and 8.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...