hey real amateur needs help with trigonometry function

hi,

I have a litlle problem here. Im studying at uni and there is a subject called programming with c/c++. As i have this subject once every two weeks I get to do one laboratory work each time.

So few minutes ago doing usual stuff by the computer I looked up the sedchule of my lessons and I saw that i have to make a programm for tommorow ( well like 4 hours left till I go to uni... )

Programming for me is really a new thing and I dont understand almost nothing in it ( i just know very basics of it ).

So I am asking anyone who would like to help me to write as simple as possible code for this function using C...

tg(x)+-tg(y)=(sin(x+-y))/(cos(x)*cos(y))

x and y must be typed by the user and the answer should come in degrees

please guys if you are master in this it should be easy for you i think :)