#include<iostream>
using namespace std;
int main()
{
char ch;
cout<< "\nEnter any character : ";
cin>>ch;
ch++;
cout<<"Next character is : "<<ch;
return 0;
}
Write a program which accepts a character and display its next character in C++ - Part 7
Reviewed by Viththiyakaran
on
4:21 PM
Rating: 5
No comments: