Question: 2. (4 marks) Which of the following coding styles is better and why? Style 1: Angle = Angle * (PI/ 180.0); Result = cosf(Angle); Style
2. (4 marks) Which of the following coding styles is better and why? Style 1: Angle = Angle * (PI/ 180.0); Result = cosf(Angle); Style 2: Angle_Radian = Angle * (PI/180.0); Result = cosf(Angle_Radian); Style 3: Result = cos(Angle * (PI/ 180.0))
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
