Algorithm - Computers and Programming I - Home Work, Lecture notes of Computer Programming

Some concept of Computers and Programming I are Assign Value, Single-Subscripted Array, Class Members, Current Precision, Elementary School, Complete Program, Fibonacci Sequence, Programming Errors. Main points of this homework are: Algorithm, Flowchart, Average, Assign Value, Input Value, Average, Display, Draw, Algorithmic, Step

Typology: Lecture notes

2012/2013

Uploaded on 04/27/2013

kid
kid 🇮🇳

4.3

(18)

110 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1. Draw a flowchart for calculating the Average 2
Algorithm for Calculating the Average 2
Step1: input value and assign value to Ai,
i = 1,2, 3, ...n.
Step 2: if no more input value, go to step 3,
otherwise go to step 1
Step3: calculate the average of Ai,
i = 1,2, 3, ...n.
Step 4: display the average.
Step 5: stop.
2. Dram a flowchart to calculate the average of 1000 numbers

Partial preview of the text

Download Algorithm - Computers and Programming I - Home Work and more Lecture notes Computer Programming in PDF only on Docsity!

  1. Draw a flowchart for calculating the Average 2 Algorithm for Calculating the Average 2 Step1: input value and assign value to Ai, i = 1,2, 3, ...n. Step 2: if no more input value, go to step 3, otherwise go to step 1 Step3: calculate the average of Ai, i = 1,2, 3, ...n. Step 4: display the average. Step 5: stop.
  2. Dram a flowchart to calculate the average of 1000 numbers