How to Print Alphabets with ASCII Values

ASCII abbreviated from American Standard Code for Information Interchange, is a character-encoding scheme. Originally based on the English alphabet, it encodes 128 specified characters into 7-bit binary integers as shown by the ASCII chart on the right. This Program is about ASCII values in C++. Each Alphabets has a value in a computer which is accessible to programmers in Programming while writing the code.

Source Code

#include<iostream>
using namespace std;
int main ()
{
 cout<<"\t \t \t  LEP Tutorials \n \n \n";
  int ascii;
   for (int i =65;i<91;i++)
  {
   cout<<(char) i<<" ";
   }
   cout<<endl;
   return 0;
}

Output of the Program

How to print Alphabets with ASCII Values



Share on Google Plus

About Asad

Asad Niazi is Software Engineer , Programmer, Web Developer and a young mentor of BloggersTown and PProgramming. Asad Love to writes about Technology, Programming, Blogging and make money online.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment