Directions: Using best practices in programming, please design, code, run and te
Directions: Using best practices in programming, please design, code, run and test a program based on following criteria. Please note, your code must be written in C (not a different programming language).
Upon running the program, display a welcome message to the user. The program displays gas prices for different types of gas.
Ask the user for their name and county.
If their answers for the county are “Miami Dade” or “Palm Beach”, please continue to the next step. Otherwise, display “The app only covers Miami Dade or Palm Beach counties.”
Ask if they would like to retype the county name. Repeat if the answer is “YES”. Otherwise, end the program.
For Miami Dade: Display prices for regular, midgrade, premium and diesel fuel. You may come up with values for each of those four categories.
For Palm Beach: Display prices for the four categories written for Miami Dade. Add 0.20 to the price for each of the categories.
Ask the user how many gallons do they need to get for their vehicle?
Calculate and display the total amount based on user responses (county, number of gallons, etc).
What to Submit?
Place the following in a word document and convert it into PDF. Submit the PDF file to Canvas.
Source-Code
Three test screenshots for different scenarios
How would you improve your project if given the opportunity?