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 even numbers in the second diagonal of a matrix.
More Problems
Write a program to check if the matrix contains only odd numbers.
Write a program to check if the matrix contains only even numbers.
Write a program to check if all diagonal elements are palindromes.
Write a program to check if all border elements are Fibonacci numbers.
Write a program to print the matrix elements in a zigzag pattern starting from the top-left corner.
Write a program to print the matrix elements in a zigzag pattern starting from the bottom-right corner.
Write a program to replace all diagonal elements with 1.
Write a program to replace all border elements with 2.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...