diff options
author | Skiz <skiznet@aol.com> | 2024-09-17 23:44:48 -0400 |
---|---|---|
committer | Skiz <skiznet@aol.com> | 2024-09-17 23:44:48 -0400 |
commit | 7ba6b80a7ecf58deb2506ca8349293a6d72f48e0 (patch) | |
tree | 4f4fe026cadfbb6fee1ff9b3a3948882adb82b00 /src | |
parent | 93799cb80df74bce1c1704cd80361d1ce11254e0 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h (renamed from src/config.c) | 4 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/config.c b/src/config.h index ee0b3f4..c828df9 100644 --- a/src/config.c +++ b/src/config.h @@ -1,5 +1,5 @@ // The config file for the TaxC program. -// Change the var to your state's tax percentage. +// Change the "#define" to your state's tax percentage. // Example for the state of Pennsylvania: 0.06 -float percent = 0.06; +#define percent 0.06 @@ -1,7 +1,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include "config.c" +#include "config.h" // Definitions: #define lessthan < #define print printf |