Write a c++ program to calculate the cost of fencing and leveling the surface of circular piece of land whose radius is given as input by the user. Assume that cost for fencing one feet is 50 rupees while cost of leveling per square feet is 100 rupees. Your output should like sample output given below.
Write three functions for input, calculating the cost of fencing, and leveling the surface of circular piece of land.
Note: Use structure and functions and pass structures as parameters to functions.
Sample Output:
*****Land Dimensions*****
Enter the radius in feet and inches: A B
*****Cost of Fencing and Leveling Land*****
Length of total fence: X feet Y inches
Cost of Fencing: ABC rupees
Area of circular land: M square feet and N square inches
Cost of leveling: XYZ rupees
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here