C Program to find Cosine value

OUTPUT: