The programming part
In scanf(), the additional arguments should be pointers. The & (address of) operator will return the address that points to your variable. See the example shown by abc.
The mathematics part
PI vs 22/7
First of all, I was scratching my head why you have 22/7 in your code. I searched the web a bit and found out why. Still, it doesn't make much sense to me. If you want PI, then write PI, not an expression that only approximates it and may be confusing for many. You can create our constant or macro and use that instead.
#define PI 3.14159265359
First of all, you're talking about a cylinder, but you ask for lower and upper radius. For a cylinder, it's the same. When it is different, it is a truncated cone or conical frustum, which is the tip of a cone cut off.
The volume of the truncated cone is the volume of the larger cone reduced by the volume of the smaller cone.
Vtotal = Vlarge - Vsmall = PI/3 * hlarge * rlarge2 - PI/3 * hsmall * rsmall2
The area should be calculated similarly, the difference of lateral surface areas plus the two bases.
I have to leave now and I don't have time to finish the maths.
You can find the proper formula on the linked site above.
Note: I believe you have been using the very (or similar) site, but you were using the formula of the square frustum, not the conical frustum.