Home » , » Basic C Programming Practice - Practice 16

Basic C Programming Practice - Practice 16

Written By Unknown on Thursday, October 10, 2013 | 11:53 PM

=> Write a program in C to find the circumference of circle?




Solution :

/Program Name : circumference of circle with out reading input /

#include<stdio.h>

#include<conio.h>

int main()

{
double radious=5.0,circum;

circum= 2*3.14*radious;

printf("%lf", circum);


getch();

} 



Program Analysis :


Share this article :

Post a Comment

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Learn Programming - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger| Distributed by Rocking Templates