/* * tourif.c * * show you how to use the if stateent * */ #include int main(void) { int weight; printf("Enter the weight of a car in poinds: "); scanf("%d", &weight); if (weight > 2000) { puts("Utopia bridge weight limit is 2000lb"); puts("You'd better stay in this World"); } else { puts("Welcome to Utopia!"); } return 0; }