Lab4-701 F11 - ENGR 1412 INTRODUCTION TO COMPUTER...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ENGR 1412 – INTRODUCTION TO COMPUTER PROGRAMMING FALL 2011 Additional Project#3 Tasks 1. Draw a flowchart (or write an algorithm) to convert a binary number with a maximum of 32 digits to its decimal equivalent. Explanation: Project 3 required to write a program to determine the decimal equivalent of a four digit binary number. This problem requires you to write down the logic (or list of steps) that would be required to perform the conversion for a binary input with up to 32 digits. One approach to the problem would be to continue with the formulas devised in project 2 to separate out the digits. However, this would make the program extremely long and tedious. In this problem, you need to find a set of common steps that can be repeated over multiple times to separate out the digits and perform the conversion. Given below is an example algorithm and flowchart to add 100 numbers entered by the user. Program not required
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Lab4-701 F11 - ENGR 1412 INTRODUCTION TO COMPUTER...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online