This Tutorial contains following Attachments:
- CIS 115 Week 5 Exercise.zip
CIS 115 Week 5 Exercise
Assignment (part A): Your goal is to solve the following simple programming exercise. Using a FOR loop, write an algorithm that displays the squares of the numbers 1 to 10 to console output. Thought provoking question: Do you need to accept input?
Assignment (part B): Using a pretest WHILE loop, write an algorithm that displays the squares of the numbers 1 to 10 to console output.
Assignment (part C): This is extra for those who desire a challenge. Accomplish the same output as above, but use a posttest WHILE loop this time.
Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.
When completed staple the following documents together neatly in 1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.
Write a reviewYour Name:
Your Review: Note: HTML is not translated!
A B C D F
Enter the code in the box below: