Skip to main content

Posts

Showing posts with the label circle

Featured Post

Data Mining with Weka -Installation

Weka - Data mining Tool W eka is a tool for big data and data mining. It is used to various classification, experiments, and analysis over large data sets. Installation Guide -weka  You can download Weka from   here   and follow the normal installation procedure. After completion you will get following window, here you can begin your classification or experiment on different data sets with Weka.

C - Program (Sequence) - Circumference of Circle

1. WAP to find area and circumfernce of a circle, where define pi as constant. #include <stdio.h> #include <conio.h> #define pi 3.14 void main () {     int r;     float a, c;     printf ("\ n Enter the radius:");     scanf ("% d", & r);     a = pi * r * r;     c = 2 * pi * r;     printf ("\ nArea of ​​a circle is =% f", a);     printf ("\ n \ nCricumference of a circle is =% f", c);     getch (); }