Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 16, 2021 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/4ce94566d9c0cd984cb5ea1694939a77 to your computer and use it in GitHub Desktop.
Save parzibyte/4ce94566d9c0cd984cb5ea1694939a77 to your computer and use it in GitHub Desktop.
// Calcular la letra
string letra = "";
if (promedioFinal == 100)
{
letra = "A";
}
else if (promedioFinal >= 80)
{
letra = "B";
}
else if (promedioFinal >= 70)
{
letra = "C";
}
else if (promedioFinal >= 60)
{
letra = "D";
}
else
{
letra = "E";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment