i have a problem i have to write a program that calculate the sum,average and tripple of integers i understand that part. However i must validate my code in such a way that i could only enter an integer and if i were to enter a character I would get an error is there a function i can use to validate my code.