answersLogoWhite

0

How do you write a C-program to convert an Octal number to a Decimal number?

User Avatar

Anonymous

∙ 16y ago
Updated: 8/16/2019

very simple way yr:

int main()

{
int o;

printf("\n Enter an octal number:");
scanf("%o",&o);
printf("The required decimal number is %d",o);
getch();
}

User Avatar

Wiki User

∙ 16y ago
Copy

What else can I help you with?

Related Questions

Convert the haxadecimal number BB895C to octal and Decimal?

Octal: 56704534 Decimal: 12290396


How you convert decimal number into octal equvalent?

(83)base10 to octal


Convert the hexadecimal number A45C to octal and decimal?

A45C: Decimal = 42076 Octal = 122134


Convert the hexadecimal number BB895C to octal and Decimal?

BB895C: Octal = 56704534 Decimal = 12290396


Convert the hexadecimal number 221122 into binary octal and decimal?

221122: Binary = 1000100001000100100010 Octal = 10410442 Decimal = 2232610


Convert the decimal number 321.145 to octal and hexadecimal?

NA


Convert hexadecimal noBB895C to octal and decimal?

Octal = 56704534 Decimal = 12290396


Convert the decimal numbers 1987 to binary then to octal?

In binary this number is equivalent to 11111000011 while in octal it is 3703


How do you convert the octel number 6578.345 to hexa decimal?

That can't be an octal number; it has an 8 in it.


Convert 246.24 octal to decimal?

166 in decimal


How To Convert Decimal To Octal?

71


What is 262 in octal as a decimal number'?

262 octal is178 decimal.262 decimal is406 octal

Trending Questions
Is Estee Lauder French? What is the area of a rectangle with a length of 2.4 cm and width of 5.2 cm? If someone came here on a visa and is still here but the visa is expired how much trouble could they be into if its been expired for 3 years now? What do you do if the caves are empty? Ano ang pinakamalaking kapuluan sa buong mundo? How long does it take to get to Rome from Birmingham England? What season does Halloween mark the ending of? Is the moon the chief source of radiant energy? What is a large church called starting with cat? Remington 1100 Special worth? Your male guinea pig was mounting another male guinea pig and when you lift him off there is a cloudy glob on the other's hind end. Is this normal and what is it? Does England have fire hydrants? Does john cena like Michael Jackson? Is Steve Jones from t4 kelly Jones brother? Who held the disison making power in rome? What is the frequency heard by a person driving at 15m a sec toward a blowing factory whistle when f equals 800hz if the speed of sound is 340.6m a second? How can a pure spectrum be obtained? What color is windex? What is 5 over 7 plus 1 over 2? Why are there 2 prongs on a plug?

Resources

Leaderboard All Tags Unanswered

Top Categories

Algebra Chemistry Biology World History English Language Arts Psychology Computer Science Economics

Product

Community Guidelines Honor Code Flashcard Maker Study Guides Math Solver FAQ

Company

About Us Contact Us Terms of Service Privacy Policy Disclaimer Cookie Policy IP Issues
Answers Logo
Copyright ©2025 Infospace Holdings LLC, A System1 Company. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers.