Figure 3 shows the dimension of a ring. Use it to answer the questions that follows.
Write a C++ program that accepts the values r1 and r2 and calculate the area of the shaded part through the use of inline function. The program should the output the shaded area. (5 marks)
Hint: area of a circle=pie*Radius*Radius.