- 1

WRITE a program which accepts a character and display its next character!!!

15th Aug 2016, 5:34 AM
Kabeer
Kabeer - avatar
2 odpowiedzi
+ 4
include <iostream> void main() { char c; std::cin >> c; std::cout << ++c; }
15th Aug 2016, 5:36 AM
Ahkrin
+ 2
#include<iostream> using namespace std; int main() { char ch; cout<< "\nEnter any character : "; cin>>ch; ch++; cout<<"Next character is : "<<ch; return 0; }
22nd Nov 2017, 3:59 PM
Shafqat Khattak
Shafqat Khattak - avatar