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 the elements in the matrix that are multiples of 2 and 3.
More Problems
Write a program to check if the matrix contains only multiples of 5 and 7.
Write a program to check if the matrix contains only prime numbers in the first and last rows.
Write a program to replace all diagonal elements with their nearest perfect square.
Write a program to replace all border elements with their nearest perfect cube.
Write a program to print the matrix elements in reverse zigzag order starting from the center.
Write a program to print the matrix elements in reverse zigzag order starting from the corners.
Write a program to check if all diagonal elements are divisible by both 4 and 8.
Write a program to check if all border elements are divisible by both 6 and 9.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...