summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.h (renamed from src/config.c)4
-rw-r--r--src/main.c2
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
diff --git a/src/main.c b/src/main.c
index 2a2317d..26a9bbb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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