lol i already know that i was just asking if someone can post the same code but in a function instead of main() ... u know the calls to functions .. i wanted to know how would it look like if its in a call to function program