NEA calculates and prints an electricity bill.
- Enter custom unit costs and extra charge (choice 1).
- Use predefined unit costs and extra charge (choice 2).
- It asks for the user's first and last name.
- Based on the chosen option, it calculates the total bill based on unit ranges and their corresponding costs.
- It prints the bill details, including unit ranges, costs, total consumption, extra charge, and final amount.
Enter User Value |
---|
NEA Bill |
---|