#include<conio.h> #include<iostream.h> void main() { clrscr(); char N; cout<<"Enter The Charecter: " ; cin>>N; if(N=='a'||N=='e'||N=='i'||N=='o'||N=='u') { cout<<"Charecter is Vowel."; } else cout<<"Charecter is Consonent."; getch(); }
Sunday, 8 April 2012
Subscribe to:
Post Comments (Atom)
Write a program which reads a set of integers into an integer array and then prints "YES"if all of them are same otherwise print "NO".
#include<stdio.h> int main() { int a[10],M=0,i,n; printf("enter a value for n\n"); scanf("%d",&n); fo...
-
#include<iostream> using namespace std; #define AND && int main() { float n1,n2,sum; cout<<"enter the nu...
-
#include<iostream> using namespace std; int main() { char ch; int a,b,result; cout<<"enter two value "<...
-
#include<stdio.h> int main() { int a[10],M=0,i,n; printf("enter a value for n\n"); scanf("%d",&n); fo...
No comments:
Post a Comment