Q6: (Sides of a Right Triangle) Write a function that readsthree nonzero integers and determines whether they are the sides ofa right-angled triangle. The function should take three integerarguments and return 1 (true) if the arguments comprise aright-angled triangle, and 0 (false) otherwise. Use this functionin a program that inputs a series of sets of integers. Hint:a^2+b^2=C^2 Codes in C please.s