Write a program to calculate the volume flow rate in cubic

Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second. The formula for the flow rate is given by;q = area * velocity;where area =?d?/4 in square feet