Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- //conversion between Octal to Decimal
- {
- int num;
- printf("Enter any Octal number : \n");
- scanf(" %o",&num);
- printf("Decimal number: %d",num);//The dot in a decimal number is called a decimal point.
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement