Tuesday, 27 January 2015

How to print Alphabets with ASCII Values

Structure of the Problem Requirements 

ASCII ( i/ˈæski/ ASS-kee), 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 it Please
asad

About Author!

Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.

0 comments:

Post a Comment