Homework 4 Solution

Homework 4 Solution - print i * i to outfile set i to i + 1...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework Four main: read n set outfile to open(“squares.txt”) set i to 1 while i <= n
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: print i * i to outfile set i to i + 1 close(outfile) end...
View Full Document

Ask a homework question - tutors are online