Skip to main content

Posts

Showing posts with the label test character

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) - Test Character

 13. Write a Program to Test WHETHER Character is the entered digit alpha or alpha or Special Character Character on the Basis of Given condition. Character / Message: 0-9 / Alpha digit, AZ / Alpha Character, Others / Special Character. #include <stdio.h> #include <conio.h> void main () {  char ch;  printf ("Enter character:");  scanf ("% c", & ch);  if (ch> = '1' && ch <= '9')  printf ("Alpha Digit");  else if (ch> = 'a' && ch <= 'z')  printf ("Alpha character");  else  printf ("Special Character");  getch (); }