There isn't any ought to make use of a return assertion as the compiler can infer that you want to return the result of the expression If the value of FuelUnits is set to a different string, FuelUnits will disregard that price and carry on to return the literal string https://smartworlddeveloper.co.in/