Esempio n. 1
0
int main(void) {
	int num = getNumber();

	if(num < 0)
		tooSmall();

	if(num > 100)
		tooLarge();

	if((num >= 0) && (num <= 100))
		justRight();

	return EXIT_SUCCESS;
}
void checkError(int num){
	if(num < 0)
		tooSmall();
	else
		tooLarge();
}