Skip to content

Add files via upload - #459

Open
Gaurav07122000 wants to merge 2 commits into
Akanksha1212:masterfrom
Gaurav07122000:master
Open

Gaurav07122000 wants to merge 2 commits into
Akanksha1212:masterfrom
Gaurav07122000:master

Conversation

@Gaurav07122000

Copy link
Copy Markdown

This programming can check that Matrix is a identity matrix or not.

This programming can check that Matrix is a identity matrix or not.
fix: 
- Removed `&& flag` from the print loop so the matrix always prints.
- Replaced cryptic `[' '][' ']` array size with a clear `MAX 50` macro.
- Added boundary checks to prevent array overflow.
- Updated `main()` to standard `int main()` with a return value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant