<prompt> Etsa mosebetsi ka C ho bala sebaka sa kgutlotharo.nan  <response>: Instruction in English: Creat a function in C to calculate the area of a triangle. . Response in English: Here is a function written in C that calculates the area of a triangle:cpp Include the math library to use the sqrt functioninclude Define a function that calculates the area of a triangle given the lengths of its three sides: a, b and c.double area_of_triangledouble a, double b, double c Calculate the semi-perimeter of the triangle. double s a b c 2; Calculate the area of the triangle using Herons formula. double area sqrts s - a s - b s - c; return area;This function takes three arguments, representing the lengths of the sides of a triangle, and returns the calculated area of the triangle using Herons formula. The cmath library is included to make use of the sqrt function. . Response in Sesotho: Mona ke mosebetsi o ngotsoeng ho C o balang sebaka sa khutlotharo: cpp Kenyelletsa laeborari ea lipalo ho sebelisa sqrt tsebetso ea kenyelletsa Hlalosa tšebetso e balang sebaka sa khutlotharo ho fanoe ka bolelele ba mahlakore a eona a mararo: a, b le c. sebaka se_sa_tharo habelidouble a, double b, double c Bala semi-perimeter ea kgutlotharo. habeli s a b c 2; Bala sebaka sa kgutlotharo o sebedisa foromo ya Heron. sebaka se habeli sqrts s - a s - b s - c; sebaka sa ho khutlela; Tshebetso ena e nka mabaka a mararo, a emelang bolelele ba mahlakore a kgutlotharo, mme e busetsa sebaka se balilweng sa kgutlotharo ho sebediswa foromo ya Heron. Laeborari ea cmath e kenyellelitsoe ho sebelisa tsebetso ea sqrt. 