Write a program to read the radius of a sphere and compute its surface area and the volume
/*A program to read the radius of a sphere and compute its surface area and the volume
programmed by:
Name: Jitendra Kumar Yadav
Roll No: 16
date: 7 Jan 2011 */
#include <stdio.h>
#include <conio.h>
#include <math.h>
void main()
{
float r,SA,V;
printf(“Enter the radius of a sphere: “);
scanf(“%f”,&r);
SA=(4*(22*1.0)/7*pow(r,2));
V=((4*1.0)/3*(22*1.0)/7*pow(r,3));
printf(“The surface area of a sphere is %f”,SA);
printf(“\nThe Volume of a sphere is %f”,V);
getch();
}








