Math, asked by ravenclaw2209, 1 day ago

Output 1:
Enter total number of street lights : 1
Light 1 covers the street from X1 to Y1. Please enter the value of X and Y : 5 10
Length of street = 5
Output 2:
Enter total number of street lights : 2
Light 1 covers the street from X1 to Y1. Please enter the value of X and Y : 5 10
Light 2 covers the street from X2 to Y2. Please enter the value of X and Y : 8 12
Length of street = 7

Answers

Answered by sanskarshobha1984
0

Answer:

add this all you will get the ans

Similar questions