Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 9, 2020 18:32
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/bd25846cd275266cbec03629a3c46363 to your computer and use it in GitHub Desktop.
Save parzibyte/bd25846cd275266cbec03629a3c46363 to your computer and use it in GitHub Desktop.
float calcularVoltaje(float corriente, float resistencia)
{
return corriente * resistencia;
}
float calcularResistencia(float corriente, float voltaje)
{
return voltaje / corriente;
}
float calcularCorriente(float voltaje, float resistencia)
{
return voltaje / resistencia;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment