Lab 6 Report - Lab #6 14 February 2007 Chris Sutherland 11W...

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

View Full Document Right Arrow Icon
Lab #6 14 February 2007 Chris Sutherland 11W Part 1 1. Start "What number would you like to start the summation at?" GET StartingPoint "What number would you like to end the summation at?" GET EndPoint X ← StartingPoint Sum ← 0 X > EndPoint PUT "X = " PUT X¶ Sum ← Sum + X X ← X + 1 PUT "The sum of these numbers is: " PUT Sum¶ End Yes No Loop James Christopher Sutherland 25 February 2007 Lab 1 Part 1 2. X = 31 X = 32 X = 33 X = 34 X = 35 X = 36 X = 37 The sum of these numbers is: 238 ----Run finished----
Background image of page 1

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

View Full DocumentRight Arrow Icon
Part 2 1. I worked alone. 2. 4 6 8 10 12 14 16 6 9 12 15 18 21 24 8 12 16 20 24 28 32 10 15 20 25 30 35 40 12 18 24 30 36 42 48 14 21 28 35 42 49 56 16 24 32 40 48 56 64 ----Run finished---- 3. See next page.
Background image of page 2
Start "What is the first number for multiplication?" GET InitialNumber "What is the last number for multiplication?" GET EndNumber X ← 0 Row ← 0 Row > (EndNumber - InitialNumber) X > (EndNumber - InitialNumber) PUT (InitialNumber + Row) * (InitialNumber + X) (InitialNumber
Background image of page 3

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

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

Page1 / 6

Lab 6 Report - Lab #6 14 February 2007 Chris Sutherland 11W...

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

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