Area of circle ( 3.14 *r*r) float

Area of circle ( 3.14 *r*r )

  • Open TurboC++
  • file>>new

  • coding

#include<stdio.h>

#include<conio.h>

void main()

{

float r,area;

clrscr();

printf("entre the value of r :");

scanf("%f",r);

area=3.14*r*r;

printf("Area=%f",area);

getch();

}

  • Run Programme
>>ctrl+f9
  • compile Programme
>>alt+f9
  • output comes




for help


harshalbhamare02@gmail.com

Comments

Popular posts from this blog

Area of circle = 3.14*r*r

Division ( / ) float