Computer Science, asked by sukanyabiradar4, 30 days ago

program for

There is a row of LED lights aligned in a row
and numbered consecutively starting from
1. Each of the LED lights is

initially in its
"OFF" position. Over some number of
operations, a left and right index will be
provided. When a current is applied to two
LED lights, a NOT operation is applied to
each LED light in the inclusive interval
between those lights. That is, if a light is
OFF, it is turned ON, and vice versa. Given a
series of operations, determine their final
state. Calculate the sum of all indices where
light is ON.​

Answers

Answered by sonimanis7626
0

Answer:

hhgbbkjbbgjbhjjnhbbj hgkhgijhyjh

Similar questions
Math, 8 months ago