Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solución Reto #5 C# #1268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NaDisla
Copy link

@NaDisla NaDisla commented Apr 25, 2023

Solución al Reto #5 en C#.

Choose a reason for hiding this comment

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

Would u explain me the GreatestCommonDivisor method XD ?

Copy link
Author

Choose a reason for hiding this comment

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

Well, basically is a way to calculate the aspect ratio. First, get the greatest common divisor (máximo común divisor MCD) between width and height, and then just divide the width and height by this value.

Choose a reason for hiding this comment

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

Pero cual es la unidad de medida del width y el height ? Pixeles?

Copy link
Author

Choose a reason for hiding this comment

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

Sí, pixeles.

Choose a reason for hiding this comment

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

Vale gracias :)

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.

None yet

2 participants