Computer Science, asked by varsha1958, 5 months ago

delhi government implemented the odd even rule in delhi the rule states that car with even no plates can ride only on even dates. car with odd no plates can ride only on odd dates. In case a car is driven on the wrong day it is fined.If the first time fine for a car is INR 100 if the same car is violating again the fine is InR 200 given an array of car numbers and the date. write a program to find the total fine which was to be collected on the given date. write a c program for this

Answers

Answered by kyadin12
0

Answer:

rupees 12000

Explanation:

I didn't understand your question well but I think you are asking the total amount the car driven on wrong day has to fine in a month so I am giving answer to that

since one day even and one day odd

therefore one even no car has no of wrong days=30/2

=15

now first day he has to fine 100 then 200 then

this would follow as

100,200,300,400,500,........1500

Sn =n/2(a+last list number)

=15/2(100+1500)

=15/2*1600

=1200

Hope you get your anwer

Similar questions