Problem Statement
In Jordan, household water bills are often discussed using usage bands. For this exercise, classify a monthly water consumption value based on the following rules:
- If the consumption is negative, the input is invalid.
- If the consumption is from 0 to 10 cubic meters, print
VERY_LOW. - If the consumption is from 11 to 20 cubic meters, print
LOW. - If the consumption is from 21 to 35 cubic meters, print
MEDIUM. - If the consumption is greater than 35 cubic meters, print
HIGH.
Write a C program that reads one integer representing the monthly water consumption in cubic meters and prints the correct category.
This is a condition-based programming question. Use if, else if, and else statements to determine the result.