...

/

Example 24: Base Conversion

Example 24: Base Conversion

Learn how to convert an integer from decimal to its equivalent octal base.

Problem

Write a program that receives a positive integer and returns its octal equivalent.

Demonstration

Access this course and 1400+ top-rated courses and projects.