Question: Write a program in C which analyses a number and provides information on the number. a) Print The number is odd for odd nunbers and

Write a program in C which analyses a number and provides information on the number.
a) Print The number is odd for odd nunbers and The nunber is even for even numbers.
b) Print The nunber is positive for positive numbers and The number is negative for negative numbers.
c) Assuming the nunber is an angle measure, print which quadrant the angle would point into.
d) Whether the absolute value of the number is perfect square or not.
e) The square root of the number ( handled imaginary numbers)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!