Hi,
You need to specify a parameter name by using an at sign (@) as the first character.
https://learn.microsoft.com/en-us/sql/t-sql/statements/create-function-transact-sql?view=sql-server-ver15
CREATE FUNCTION totalSickHours(@letter CHAR(1))
RETURNS FLOAT
AS
BEGIN
DECLARE @total FLOAT;
SELECT @total = ISNULL(SUM(sickLeaveHours),0)
FROM employee
WHERE lastName LIKE @letter+'%';
RETURN @total;
END;
And you don't need to specify float(53).The default value of n in float [ (n) ] is 53.
https://learn.microsoft.com/en-us/sql/t-sql/data-types/float-and-real-transact-sql?view=sql-server-ver15