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 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
Heres a simple C program that accomplishes the task incorporating the requested features include A D... View full answer
Get step-by-step solutions from verified subject matter experts
