Help with prototype functions in c programming?

4.5
Average: 4.5 (2 votes)
Reputation: 26
Asked 2 years ago.
408 View(s)
Help with prototype functions in c programming?

The two prototypes, after the main function,and outputs to the main function. Each prototype has to do two calculations. My problem is, the compiler keeps failing and it says it is not possible to do two different calculations in one prototype. Can someone explain to me how to put both these calculations under one prototype? The two calculations I have to do is r=sqrt(x^2+y^2) and theta=atan(y/x) in one prototype.

Delivery Time: 3 hours.
Question Category: Programming.
Shen Smith
Reputation: 99
Free
Deliver in: 3 hours

Tutor Answer

You must be login to view answer.