A C function has a return type, a name, a list of parameters with their types, and a body in braces. int holds whole numbers and double holds numbers with a fractional part. The return statement ends the function and sends a value back to the caller. Every statement ends with a semicolon.
In these exercises you write functions, not whole programs. The tests call your function with different values and compare what it returns with the right answer, so the name, the parameter types and the return type must stay as the starter code has them. Mixing int and double in one expression gives a double: 3 * 2.5 is 7.5.
A function that returns a double. line_total(4, 2.5) returns 10.0.