One-tenth of the cars in a car park are yellow. Another car arrives and now one-ninth of the cars are yellow.

How many cars are now in the car park?

3 answers

If there are x cars and y yellow cars, clearly the new car is yellow, since 1/9 > 1/10

y = x/10
y+1 = (x+1)/9

There are now 81 cars, with 9 yellow.
For the code, something like

count=0
for i=1..2000
  with student[i] do {
    read   name,sex,score
    pct = score*5/2
    sub45 = false
    if pct < 45 then
      if sex = "F" then
      count++
      print name
    }
  }
}
print "There were ",count," females scoring below 45%"
81
Similar Questions
    1. answers icon 1 answer
  1. Lesson 8: the ninth and tenth amendmentUnit 3: civil rights and civil liberties 1. Which of the following was the purpose of the
    1. answers icon 6 answers
  2. Which amendment guarantees the reserved powers of the state?(1 point) Responses Seventh Seventh Eighth Eighth Ninth Ninth Tenth
    1. answers icon 1 answer
  3. Car park contain 20 parking space 17 cars were parked(a)What fraction is the car park full b what fraction is the car park empty
    1. answers icon 8 answers
more similar questions