PROGRAM TO CHK GIVEN CHARACTER IS VOWEL OR CONSONANT

C, C++, etc Programing examples. Post as many you can. Test the programs and discuss about the output of the programes.
Forum rules
Please Discuss & post only about the programes and its Output

PROGRAM TO CHK GIVEN CHARACTER IS VOWEL OR CONSONANT

Postby charulatha » Tue Apr 13, 2010 2:34 pm

/* CHECK GIVEN CHARECTER IS VOWEL OR CONSONANT */

#include <stdio.h>
#include <conio.h>
main()
{
char ch;
printf("Enter the letter: ");
ch=getchar();
switch(ch) {
case 'a' :
case 'e' :
case 'i' :
case 'o' :
case 'u' :
printf(" is a vowel \n");
break;
default:
printf(" is a consonant");
}
}
Regards,
Charulatha.
User avatar
charulatha
Moderator
 
Posts: 669
Joined: Sat Oct 17, 2009 2:54 pm
membership: Senior Technician of The Institution of Engineers (India)- ST

ad
 

Re: PROGRAM TO CHK GIVEN CHARACTER IS VOWEL OR CONSONANT

Postby rohit.wadhwa » Thu Apr 15, 2010 11:29 am

hi charulatha,

Nice work can you please make a word document of all programs which u r having & send it to mail ID.
we will upload it in FTP.It will be easier for all to refer.
Anyway u can post it whatever way you feel comfortable.
you have really a good command on it.
Thanks for sharing with us.
Thanks
Rohit Wadhwa
Site : Study Site
User avatar
rohit.wadhwa
Moderator
 
Posts: 55
Joined: Mon Mar 16, 2009 4:00 pm
Location: Hisar(Haryana)
membership: Senior Technician of The Institution of Engineers (India)- ST

Re: PROGRAM TO CHK GIVEN CHARACTER IS VOWEL OR CONSONANT

Postby irfanmasiullah » Fri Apr 16, 2010 12:58 am

Hello Everybody.

I have one question.
* should we concentrate more on C++ or C ? As far as I study previous paper it shows that we should concentrate more on C++.

Can we make list of expected/sample question of C and C++. so .

Regards
IRFAN
Thanks & Best Regards -
Irfan M Ansari - Section B - Civil
MOB- 00966 561 770 321 - Dammam - Saudi Arabia
Email :irfanmasiullah@gmail.com
IM: irfanmasiullah@yahoo.com : irfanmasiullah@gmail.com
User avatar
irfanmasiullah
Super Member
Super Member
 
Posts: 77
Joined: Thu Jul 30, 2009 7:59 pm
Location: Mumbai / Dammam (Saudi Arabia)
membership: Senior Technician of The Institution of Engineers (India)- ST

Re: PROGRAM TO CHK GIVEN CHARACTER IS VOWEL OR CONSONANT

Postby charulatha » Sat May 01, 2010 12:14 pm

hi friends,
pls clarify?? in question paper if they ask to write a program ...so & so...(not specifying c or c++). then shall we write c or c++ according to our wish?.
Regards,
Charulatha.
User avatar
charulatha
Moderator
 
Posts: 669
Joined: Sat Oct 17, 2009 2:54 pm
membership: Senior Technician of The Institution of Engineers (India)- ST

Re: PROGRAM TO CHK GIVEN CHARACTER IS VOWEL OR CONSONANT

Postby charulatha » Mon May 10, 2010 10:14 am

I HAVE UPLOADED COLLECTION OF C PROGRAMS (WORD FILE) IN USEFUL DOWNLOADS. U CAN DOWNLOAD FROM THERE.
Regards,
Charulatha.
User avatar
charulatha
Moderator
 
Posts: 669
Joined: Sat Oct 17, 2009 2:54 pm
membership: Senior Technician of The Institution of Engineers (India)- ST


Return to Computer Notes : Some Sample Programs

Who is online

Users browsing this forum: No registered users and 0 guests