Computer Science, asked by sachin370427, 8 months ago

Write an algorithm and draw a flowchart for the following:
1. To find the sum of five numbers and print its average.
2. Multiplication table for a given number.​

Answers

Answered by Anonymous
3

Answer:

Algorithm and flowchart are the powerful tools for learning programming. An algorithm is a step-by-step analysis of the process, while a flowchart explains the steps of a program in a graphical way. Algorithm and flowcharts helps to clarify all the steps for solving the problem.

Explanation:

Flowchart and algorithm

  1. Write an algorithm for finding the average of two numbers and also draw a flowchart.
  2. Algorithm: Input: two numbers x and y Output: the average of x and y Step 1 : input x,y Step 2: sum=0,average=0 Step 3:sum = x + y Step 4:average = sum /2 Step 5: print average.
Similar questions