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.4k
- Theory of Computation 6.2k
- Compiler Design 2.1k
- Databases 4.1k
- CO and Architecture 3.4k
- Computer Networks 4.2k
- Non GATE 1.4k
- Others 1.4k
- Admissions 595
- Exam Queries 573
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 18

50,737 questions

57,398 answers

198,613 comments

105,456 users