exerciseJan30

exerciseJan30 - result. The most irrational number 1 :...

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

View Full Document Right Arrow Icon
COMP202 Instructor: Ladan Mahabadi January 30, 2008 Decimal to Binary Conversion: Write a program that prompts the user to enter a positive integer (continue prompting the user until this is the case), convert the input into its binary representation and display the
Background image of page 1

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

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

Unformatted text preview: result. The most irrational number 1 : Prompt the user for a number of iterations n (ensure that n is a positive integer). Calculate the Golden Ratio Number by the following two methods: 1 http://mathworld.wolfram.com/GoldenRatio.html...
View Full Document

This note was uploaded on 04/14/2008 for the course COMP 202 taught by Professor Verbrugge during the Winter '07 term at McGill.

Page1 / 2

exerciseJan30 - result. The most irrational number 1 :...

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