C program to calculate the area and circumference of a circle
Algorithm
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to calculate the area and circumference of a circle ——————————————————————————————————————————— Enter the radius of a circle 10 The area of a circle is 314.000000 The circumference of a circle is 62.799999 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C program to find the size of data types
C program to find the range of data types
Find the output of C programs
Advertisement