// ~cs35 code_it.cpp

#include "CS35lib.h"

char code_it (char ch)
{
	int place, next_place;
	char next_ch;
	place = int (ch);
	next_place = place + 1;
	next_ch = char(next_place);
	cout << "The next character is "<<next_ch<<".\n";
	return next_ch;
}

int main ()
{
	char ch, code;
	cout << "Enter a character and I'll give its successor: ";
	cin >> ch;
	code_it (ch);
	return 0;
}
