/* loop and array */ #include int main() { int height[5]; int i; for (i=0; i<5; i++) { scanf("%d", &height[i]); } for (i=0; i<5; i++) { printf("Height element %d is %d\n", i, height[i]); } for (i=0; i<5; i++) { height[i] = height[i] + 22; } for (i=0; i<5; i++) { printf("Height element %d is %d\n", i, height[i]); } }