Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Q: Here is the information your program will ask the user toenter: 1. The number

ID: 3613396 • Letter: Q

Question

Q: Here is the information your program will ask the user toenter:
1. The number of lower bowl tickets he/she wants to buy.
2. The number of upper bowl tickets he/she wants to buy.
3. The number of games worth of tickets he/she wants to buy.
4. The sales tax in the locale in which the tickets are beingbought, as a percentage.

Prompt the user to input these four values. You will output asingle statement with the total cost of the football tickets.
Please define the following constants in your code:
#define LOWER_BOWL_TIX_PRICE 50.00
#define UPPER_BOWL_TIX_PRICE 25.00

Input Specification
1. The number of lower and upper bowl tickets will be integers inbetween 0 and 100, inclusive.
2. The number of games the user will be buying tickets for will bein between 0 and 7, inclusive.
3. The sales tax will be a real number percentage in between 0% and20%.

Output the cost for all of the football tickets with tax rounded totwo decimal places. Your output should follow the format below,where XX.XX is the cost in dollars for all of the footballtickets.
The total cost of your football tickets is $XX.XX.
______________________________________________________________________________
I have this and I do not know how to finish this code where it giveme the correct data. Also, how do I use between since it specifiesbetween 0 and 100, plus put in the sales tax? Can I please get someassistance?

#include <stdio.h>

int main(void)
{
    int Lower_Bowl_Ticket_Price = 50.00,Upper_Bowl_Ticket_Price = 25.00,
   
    printf ("How many lower bowl seats do you want? ");
    printf ("How many upper bowl seats do you want? ");
    printf ("For how many games do you want to buythese tickets? ");
    printf ("What is the sales tax percentage inyour locale? ");
    printf ("The total cost of your footballtickets? ");
   
    system ("pause");
    return 0;
    }


Explanation / Answer

please rate - thanks #include #include #define LOWER_BOWL_TIX_PRICE 50.00 #define UPPER_BOWL_TIX_PRICE 25.00 int main(void) { int upper,lower,games; float tax,cost;     do        {         printf ("How many lowerbowl seats do you want? ");        scanf("%d",&lower);        if((lower100))             printf("Invalid entry-must be between 0 and 100 ");        }while(lower100);     do         {          printf ("How manyupper bowl seats do you want? ");         scanf("%d",&upper);         if((upper100))             printf("Invalid entry-must be between 0 and 100 ");         }while(upper100);      do         {            printf ("For howmany games do you want to buy these tickets? ");         scanf("%d",&games);         if((games7))             printf("Invalid entry-must be between 0 and 7 ");         }while(games7);      do         {          printf ("What isthe sales tax percentage in your locale? ");         scanf("%f",&tax);         if((tax20))             printf("Invalid entry-must be between 0 and 20 ");         }while(tax20);     tax=tax/100.;    cost=(lower*LOWER_BOWL_TIX_PRICE+upper*UPPER_BOWL_TIX_PRICE)*games;     cost=cost+cost*tax;     printf ("The total cost of your football ticketsis $%.2f ",cost);     getch();     return 0;     }