Question: I need solutions for these problems, I prefer to get the answers for some problems using printf and scanf not cout and cin. 1. Write
I need solutions for these problems, I prefer to get the answers for some problems using printf and scanf not cout and cin.


1. Write a program to generate cartesian co-ordinates (z,y), if the polar co-ordinates (r. ) of a point are provided. The transformation holds the following relationship: x = r cos and y-r sin . C's default angles are in radians. The conversion from degrees to radians is given by: degrees radians10 P (x, y) FIG. 1: Question 1. 2. What is the value ofi calculated by each of the following statements? (no program is necessary) (a) int i, j-3, k-6; i-j*2/3+k/4+6-j*j*j/8 (b) int i, j-3; i-j/2*4+3/8+j *j *3%4 3. Evaluate the following expressions if: float a-2.5, b-2.5; (no program is necessary) (a) a+2.5/b+4.5 (b) (a+2.5)/b+4.5 (d) a/2.5/b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
