Answer:
if speed < 0:
reverseDrivers +=1
elif speed < 1:
parkedDrivers +=1
elif speed < 40:
slowDrivers +=1
elif speed<=65:
safeDrivers +=1
else:
speeder +=1
Explanation:
The statements are written in python programming language
See a complete code screenshot attached, where all the variables are defined
The LinkedIn Answers is a component of LinkedIn that allows
you to get fast and accurate solutions to your questions. It provides a forum
through which you can demonstrate your expertise by offering info to your
network. You should use LinkedIn answers to ask and answer questions.
Essentially, you should use it to provide examples to your work product,
decision making skills, and on an interactive basis.
<span>Large headphones are essentially just two loudspeakers mounted on a strap that clamps firmly over your head. Earbuds work
the same way but, as you would expect, everything inside them (the
magnet, the coil of wire, and the diaphragm cone that makes sound) is
shrunk down to a much smaller size.</span>
Answer:
1.
DIM myArray(10) as INTEGER
LET A = 0
FOR I = 1 TO 10 STEP 2
INPUT “INPUT NUMBER”; myArray(i)
LET A = A + myArray(i)
NEXT
PRINT A
END
2.
REM PROGRAM FOR CALCULATING THE SIMPLE INTEREST
CLS
INPUT “INPUT THE PRINCIPAL”; P
INPUT “INPUT THE TIME”; T
INPUT “INPUT THE RATE”;R
SI = P* T * R / 100
PRINT “SIMPLE INTEREST =”; SI
END
Explanation:
Please find the respective programs in the answer section.