#include <stdio.h>

int main()
{
	/*Declare variables*/
	int number_to_test, remainder;

	/*Ask for the number to be tested and store 
	 *it in number_to_test
	 */
	printf("Enter your number to be tested.: ");
	scanf("%i", &number_to_test);

	/*calculate the remainder by using the modulus operator*/
	remainder = number_to_test % 2;

	if(remainder == 0)
	{
		printf("The number you chose, %i, is even!\n", number_to_test);
	}

	if(remainder != 0)
	{
		printf("The number you chose, %i, is odd!\n", number_to_test);
	}

	return 0;
}
