a c++ program source code to get a alphabet letter and output is next two letter of given alphabet number
1
Expert's answer
2013-01-14T09:18:46-0500
#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; }
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
Thank you! Your comments have been successfully added. However, they need to be checked by the moderator before being published.
Comments
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.
good source code but programmer should specify the header files accurately .
Leave a comment