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.
19. Write a program to display the name of day in a week, depending upon the number entered through
#include <stdio.h>
#include <conio.h>
#include <process.h>
void main ()
{
int day;
printf ("\ n Enter the number between 1 to 7:");
scanf ("% d", & day);
switch (day)
{
case 1: printf ("\ nSunday");
break;
case 2: printf ("\ n Monday");
break;
case 3: printf ("\ n Tuesday");
break;
case 4: printf ("\ n Wednesday");
break;
case 5: printf ("\ nThursday");
break;
case 6: printf ("\ n Friday");
break;
case 7: printf ("\ n Saturday");
break;
default:
printf ("Wrong Entry");
exit (0);
}
getch ();
}
Comments
Post a Comment