180 in base 10 or 220 in base 9

The Gateway to Computer Science Excellence

0 votes

+1

Radix = R's compliment = 9

8 8 8

-6 7 0

------------

2 1 8 in (R-1)'s compliment

----------

219 in (R)'s compliment but we can't represent 9 in base 9

So after 218 next number will come 220

So 218 + 1 = 220

220 is the final answer

8 8 8

-6 7 0

------------

2 1 8 in (R-1)'s compliment

----------

219 in (R)'s compliment but we can't represent 9 in base 9

So after 218 next number will come 220

So 218 + 1 = 220

220 is the final answer

+1

i done like this 670 is in base 9 ..so converted into base 10 = 549 .

Now 9s complement of 549 = 9^3-549 = 180 in base 10 or 220 in base 9

Now 9s complement of 549 = 9^3-549 = 180 in base 10 or 220 in base 9

0

Why are you doing like this...

Simply find the R-1 compliment

Then give answer accordingly

Why are you changing base and all its too time taking

- All categories
- General Aptitude 1.9k
- Engineering Mathematics 7.5k
- Digital Logic 2.9k
- Programming and DS 4.9k
- Algorithms 4.3k
- Theory of Computation 6.2k
- Compiler Design 2.1k
- Databases 4.1k
- CO and Architecture 3.4k
- Computer Networks 4.1k
- Non GATE 1.5k
- Others 1.5k
- Admissions 595
- Exam Queries 576
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 17

50,648 questions

56,429 answers

195,217 comments

99,947 users