#include 
#include 

// short program that illustrates the use of the atoi function to convert character strings to integers

void main()
{
	char ch[5];
	int nbr;
	cout << "enter a number ";
	cin >> ch;
	cout << "string is: " << ch;
	nbr = atoi(ch);
	cout << "number is: " << nbr;
}