Write a program that checks for a value