Program to prints the ASCII codes of the vowels


     # include <iostream.h>
     int main( )
     {
    cout<<" int ( 'A' )  =  "<<int ('A')<<endl;
    cout<<" int ( 'E' )  =  "<<int ('E')<<endl;
    cout<<" int ( 'I' )  =  "<<int ('I')<<endl;
    cout<<" int ( 'O' )  =  "<<int ('O')<<endl;
    cout<<" int ( 'U' )  =  "<<int ('U')<<endl;
    cout<<" int ( 'a' )  =  "<<int ('a')<<endl;
    cout<<" int ( 'e' )  =  "<<int ('e')<<endl;
    cout<<" int ( 'i' )  =  "<<int ('i')<<endl;
    cout<<" int ( 'o' )  =  "<<int ('o')<<endl;
    cout<<" int ( 'u )  =  "<<int ('u')<<endl;
         return 0;
      }

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|