So I have to write a program for class, but I wont get into details about it. I've started it and have ran into an error that I can't seem to figure out.
I get the error
syntax error before '=' token
on line
lowertixprice = lowertix * LOWER_BOWL_TIX_PRICE;
Code:
#include <stdio.h>
#define LOWER_BOWL_TIX_PRICE = 50.00;
#define UPPER_BOWL_TIX_PRICE = 25.00;
int main(void)
{
int lowertix, uppertix, games;
float lowertixprice, uppertixprice;
float tax, total_tax;
printf("How many lower bowl seats do you want? ");
scanf("%d", &lowertix);
printf("How many upper bowl seats do you want? ");
scanf("%d", &uppertix);
printf("For many games do you want to buy these tickets? ");
scanf("%d", &games);
printf("What is the sales tax percentage in your locale? ");
scanf("%.2f", &tax);
total_tax = (tax/100.00) + 1;
lowertixprice = lowertix * LOWER_BOWL_TIX_PRICE;
printf("%f", lowertixprice);
return 0;
}
Note that the program isn't finished yet, stopped after I ran into this error.