0
is my code is correct or not
#include<stdio.h> int main (){ float Radius,Length; printf("Enter the radius and length of a cylinder: "); scanf("%f %f",&Radius, &Length); float Area=(Radius*Radius)*3.1415; printf ("The area is :%.4f \n",Area); float Volume = Area * Length; printf("The volume of cylinder is : %.2f", Volume); return 0; }
2 Respuestas
+ 2
don't forget to include the math header