ok so i gave you an example. your program must start at 10, and end at 20 (inclusive). directly from your pasted assignment, it says that 1g = 3.785l. therefore 10g = 10*3.785l, 15g = 15*3.785g, etc. inside your loop you need to convert your number of gallons (starting at 10) to litres and print it.
1. Write a C program that converts gallons to liters. The program should display gallons from 10 to 20 in 1-gallon increments and the corresponding liter equivalents. Use the relationship that 1 gallon contains 3.785 liters.