1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Len [333]
3 years ago
10

There is a school with 1,000 students and 1,000 lockers. On the first day of term the headteacher asks the first student to go a

long and open every single locker, he asks the second to go to every second locker and close it, the third to go to every third locker and close it if it is open or open it if it is closed, the fourth to go to the fourth locker and so on. The process is completed with the thousandth student. How many lockers are open at the end?
Mathematics
2 answers:
zloy xaker [14]3 years ago
5 0
As many were opened during the time period. Jk, I don't know. This is a hard one
FinnZ [79.3K]3 years ago
5 0
Hello,

answer: 31

I have make a programm in Qbasic

CONST Faux = 0
CONST Vrai = NOT (Faux)
CONST nb = 1000
DIM SHARED locker(nb) AS INTEGER
DIM i AS INTEGER, j AS INTEGER, answer AS INTEGER
'1 first student
FOR i = 1 TO nb: locker(i) = Vrai: NEXT i: ' CALL See
'2 2nd student
FOR i = 2 TO nb STEP 2: locker(i) = Faux: NEXT i: 'CALL See
FOR j = 3 TO nb
    FOR i = j TO nb STEP j
        locker(i) = NOT (locker(i))
    NEXT i
    'CALL See
NEXT j
answer = 0
FOR i = 1 TO nb
    IF locker(i) THEN answer = answer + 1
NEXT i
PRINT "answer="; answer
END

SUB See

SHARED locker() AS INTEGER
DIM i AS INTEGER
locker(0) = 0
FOR i = 1 TO nb
    PRINT locker(i);
    IF locker(i) THEN locker(0) = locker(0) + 1
NEXT i
PRINT locker(0)

END SUB


You might be interested in
Please help ASAP Very easy !!!!
marta [7]

Answer:

Brainleist is to be given to me!

Step-by-step explanation:

-2/3

its between -1 and 0 but is closer to -1

the only choises are -1/3 and -2/3 but its closer to -1 so it must be -2/3

5 0
2 years ago
HeLlO I nEED aN ANsSWER aSap
nignag [31]
What are the answer choices
6 0
3 years ago
The figure shows ∠AOC drawn with a protractor. What type of angle is it and what is its measure?
Debora [2.8K]

Answer:

the answer is acute 35.


Step-by-step explanation:


3 0
3 years ago
Read 2 more answers
PLS HELP!! According to the following diagram, which two options form a pair of opposite rays?
zzz [600]

Ello there mate hows it going? I have done geometry and parlinguals along with alegbra! I am certified as a college professor and am willing to help ya!

PLEASE THANK ME RATE MY QUESTION 5 STARS AND MARK ME BRAINLIEST for my extrodinary and overly qualified help!

A,C

yours,

a soon to be brainliest

8 0
2 years ago
Some banks now use continuous compounding of an amount invested. In this case, the equation that models the value of an initial
Komok [63]

Answer:

In this case, the equation that models the value of an initial investment of P dollars in t years at an annual interest rate of r is given by A = Pert.

Step-by-step explanation:

4 0
2 years ago
Other questions:
  • Based on the information given, can you determine that the quadrilateral must be a parallelogram? Explain. Given XY = WZ and XW
    6·1 answer
  • How can i solve this?
    9·1 answer
  • John had $65.00 to spend on packs of paper for his scrapbook project. The packs of paper sell for $1.87 each.
    12·2 answers
  • Simplify the expression. –20 • 1/4 • 8 + 12 ÷ 4
    10·2 answers
  • on a piece of paper , graph y+2<-2/3x+4. then determine which answer choice matches the graph you drew
    11·2 answers
  • Which is an equation in point-slope form of the line that passes through the points (7,5) and (-4,-1)
    11·1 answer
  • Please help this is due today!
    11·2 answers
  • PLZZZZZ HURRY IM BEING TIMED A person who is hired as a Technical Assistant at a software company starts at a pay rate of $13 pe
    9·1 answer
  • H(x)=17, x=?<br> H(x)=5x+2<br> I don't know how to find x?
    5·2 answers
  • Simplify negative square root of 72
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!