Question: 2. Write a C+ program to calculate the area of a circle. (Area = r2, where is a constant with value 3.1416 and r

2. Write a C+ program to calculate the area of a circle. (Area =  r2, where  is a constant with value 3.1416

2. Write a C+ program to calculate the area of a circle. (Area = r2, where is a constant with value 3.1416 and r is the radius taken as input from user during run-time) A. Defining an object macro for the constant T B. Define a function macro for finding the square of a number C. Use nested macro for defining the Area of the circle 2. Write a C+ program to calculate the area of a circle. (Area = r2, where is a constant with value 3.1416 and r is the radius taken as input from user during run-time) A. Defining an object macro for the constant T B. Define a function macro for finding the square of a number C. Use nested macro for defining the Area of the circle

Step by Step Solution

3.45 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a simple C program that accomplishes the task incorporating the requested features include A D... View full answer

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 Programming Questions!