68 338
Assignments Done
98,8%
Successfully Done
In November 2018

Answer to Question #21886 in C++ for pavi

Question #21886
a c++ program source code to get a alphabet letter and output is next two letter of given alphabet number
Expert's answer
#include <iostream>
using namespace std;

int main()
{
cout << "& Enter a letter: ";
char l;
cin>>l;
int code = (int) l;
cout << "Next two letters: "<<(char)(code+1)<<" and "<<(char)(code+2)<< endl;
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Assignment Expert
09.01.15, 15:00

Questions in this section are answered for free. We work on all questions 
and publish answers after verification. There is no guarantee of answering 
certain question  but we are  doing our best. Although  if you have serious 
assignment that requires large amount of work and hence cannot be done for 
free  you can submit it as assignment and our experts will surely assist you.

shafaq khan
03.12.14, 15:45

good source code but programmer should specify the header files accurately .

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions