completed output app

used cout with integer