116k views
3 votes
The codes for a country A , country B and C are three consecutive integers whose sum is 90. Find the code for each country

The codes for a country A , country B and C are three consecutive integers whose sum-example-1

1 Answer

3 votes

let country A code is:x

Country code is consecutive integers mean if A code is x then country B code is x+1 and country C code is x+1+1.

According to question sum of all country code is 90 then:


\begin{gathered} x+x+1+x+1+1=90 \\ 3x+3=90 \\ 3x=90-3 \\ 3x=87 \\ x=29 \end{gathered}

So country A code is x= 29.

Country B code is x+1=30.

Country C code is x+1+1=31.

User Hannel
by
3.6k points