Students to write the following question answer. Q.Write an algorithm and draw flow chart for : 1) To find sum of two numbers. 2) To find average of two numbers. 3) To print the larger of the two numbers. 4) To print numbers from 1 to 20.
Answers
Answered by
1
Answer:
Algorithm of the sum of two numbers: * Step 1: Start * Step 2: Declare variables num1, num2 and sum. * Step 3: Read values for num1, num2. * Step 4: Add
An algorithm is a set of well-defined instructions in sequence to solve a Problem
Similar questions
English,
17 hours ago
India Languages,
17 hours ago
Social Sciences,
17 hours ago
Hindi,
1 day ago
Geography,
1 day ago
Biology,
8 months ago
Accountancy,
8 months ago