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.
14. Write a program to find age group on the basis of age. Age/Group: 0-10/Child, 10-19/Teenage, 19-40/Young, Above40/Old.
#include<stdio.h>
#include<conio.h>
void main()
{
int age;
printf("Enter the age of person:");
scanf("%d",&age);
if(age>0 && age<=10)
printf("Child");
else if(age>10 && age<=19)
printf("Teenage");
else if(age>19 && age<=40)
printf("Young");
else
printf("Old");
getc h();
}
Comments
Post a Comment