Program to calculate electricity bill based on given condition in c