Skip to content

Instantly share code, notes, and snippets.

@programmingfaster0226
Created June 18, 2018 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save programmingfaster0226/9294df2d881649a1dc42840e8294675c to your computer and use it in GitHub Desktop.
Save programmingfaster0226/9294df2d881649a1dc42840e8294675c to your computer and use it in GitHub Desktop.
programmingfaster.com
#include<stdio.h>
#include<conio.h>
void main()
{
int r;
float circum;
printf("enter radius of circle");
scanf("%d",&r);
circum=2*3.14*r;
printf("the circumference of circle is:%.2f",circum);
getch();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment