下面程序中的关系表达式过于复杂,并有些错误,请简化并改正它。
#include <stdio.h> int main (void) /* 1 */ { /* 2 */ int weight, height; /* weight 以磅为单位, height 以英寸为单位 */ /* 4 */ scanf ("%d, weight, height); /* 5 */ if (weight < 100 && height>64) /* 6 */ if (height >= 72) /* 7 */ printf ("You are very tall for your weight.\n"); else if (height < 72 && > 64) /* 9 */ printf ("You are tall for your weight.\n"); /* 10 */ else if (weight > 300 && ! (weight <= 300)) /* 11 */ &&height<48) /* 12 */ if (! (height >= 48) /* 13 */ printf (" You are quite short for your weight.\n"); else /* 15 */ printf (" Your weight is idea.\n"); /* 16 */ /* 17 */ return 0; }