Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 16, 2021 02:28
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/d3adee4cfd2e22a0908bd7dc02fa5ea8 to your computer and use it in GitHub Desktop.
Save parzibyte/d3adee4cfd2e22a0908bd7dc02fa5ea8 to your computer and use it in GitHub Desktop.
public static double importeDeLuz(double lecturaPresente, double lecturaPasada) {
double costoPorConsumo = diferenciaKilovatios(lecturaPresente, lecturaPasada) * 3.5;
return costoPorConsumo + 100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment