Created
July 11, 2012 15:36
-
-
Save drmmr763/3091203 to your computer and use it in GitHub Desktop.
calcRegBill Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double calcRegBill(int a) | |
{ | |
if (a <= base_R_min) | |
amtDue = R_Srv_Fee; | |
else | |
amtDue = R_Srv_Fee + ((a - base_R_min) * over_RbaseFee ); | |
return amtDue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment