Horje
Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given its radius and height. Code Example
Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given its radius and height.
#include<stdio.h>
int main()
{
	
	float vol,r,h;
	printf("enter radius: ");
	scanf("%f",&r);
	printf("enter height: ");
	scanf("%f",&h);
   
	vol=(22*r*r*h)/7;
	printf("VOC: %f\n",vol);
	return 0;
}




C

Related
youbook Code Example youbook Code Example
BEE/URI problem no 1181 solution in C Code Example BEE/URI problem no 1181 solution in C Code Example
Size of Operator in C language Code Example Size of Operator in C language Code Example
how to get add to number C Code Example how to get add to number C Code Example
kleiner gleich zeichen MAC Code Example kleiner gleich zeichen MAC Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9