Skip to content

magic_square.c : Style fix according to the code style conventions. #3517

Open
christianbender wants to merge 1 commit intoOpenGenus:masterfrom
christianbender:changed_magic_square_C
Open

magic_square.c : Style fix according to the code style conventions. #3517
christianbender wants to merge 1 commit intoOpenGenus:masterfrom
christianbender:changed_magic_square_C

Conversation

@christianbender
Copy link

@christianbender christianbender commented Apr 22, 2018

Fixes issue:

  • Style fix.

Changes:

  • Changed the formatting according to the code style conventions of cosmos

int n = 7; // Works only when n is odd
MagicSquare(n);
return 0;
magic_square(n);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any way you could modify this to return an array? Also, are you sure C style guide says underscore_case over camelCase?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, see the style guide

@himanshusharma89 himanshusharma89 mentioned this pull request Feb 29, 2020
4 tasks
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.

2 participants