#include #include #include #include "config.c" // Definitions: #define lessthan < #define print printf int main(int argc, char* argv[]) { if(argc lessthan 2) goto exit; // Get user's input: char* input = argv[1]; // Does tax math: float numInput = atof(input); float tax = numInput * percent; float total = numInput + tax; total = round((total * 100)) / 100; // Prints total to terminal: print("$%.2f \n", total); exit: //print("No input given,\nplease input the price of your product.\n"); return 0; }