C++ Program to convert Octal to decimal number using while loop.

By: Prof. Dr. Fazal Rehman | Last updated: October 21, 2023

C++ Program to convert Octal to decimal number using while loop.

Flowchart to convert Octal to decimal number using while loop in C++

C++ Octal to decimal number using while loop

C++ Program to convert Octal to decimal number using while loop

Output Enter an octal number : 7 Decimal equivalent of 7 is 7. Let’s see the declarations flow table of the program.
VARIABLE DECLARATION (LINE NO) INITILIZATION (LINE NO) USE (LINE NO)
NUM 6 12,8 16,
TEMP 6,10 14,9 12,14
REM 6 12 13,
OCT 6 6,13 16
i 6 6,13   13
 

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials