Tuesday, 22 July 2014

Write a program in C++ which tell the character press by user

Structure of Problem Requirements 

In this simple Program User press a Key from the Keyboard and the Program give him that key as output . Just Declare a Data Type Char and Print that after taking the input from the User.

Source Code 

using namespace std;
int main ()
char a;
cout<<" Press a Key ";
cout<<" You Press " <<a;
return 0;

Output of the Program

c++ Programming
Tell the Character by User

Share it Please

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.


Post a Comment