Computer Science, asked by eliyageetha, 11 months ago

objective for a computer project ,write an application to find the monthly water charges for the given initial reading and closing meter reaging.assume the water charges 10paise per liter

Answers

Answered by prakhargurunani
0

let the initial meter reading be x.

let the closing meter reading be y.


def main():

   x = int(input("Enter initial reading: "))

   y = int(input("Enter final reading: "))

   z = 10(y - x)

   m = z/100                          #to convert paises into rupees  

   print(m + " rupees")

while True:

   main()


The above code works in python only.

Similar questions