✍️ Get Writing Help
WhatsApp

Trigonometric function

1.Write a program to read a double-type value x that represents angle in radians and a character-type variable T that represents the type of trigonometric function and display the value of

(a) sin(x), if s or S is assigned to T,

(b) cos (x), if c or C is assigned to T, and

(c) tan (x), if t or T is assigned to T

using (i) if……else statement, and

(ii) switch statement.

2. Can we change the value of the control variable in for statements? If yes, explain its consequences. 3. What is a null statement? Explain a typical use of it.

4. Use of goto should be avoided. Explain a typical example where we fi nd the application of

goto becomes necessary.

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102