Showing posts with label How to print alphabets with ASCII values in Cpluslus. Show all posts
Showing posts with label How to print alphabets with ASCII values in Cpluslus. Show all posts

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