Draw a flowchart to determine the larger of two numbers, along with algorithm in simple English.
Find the complement of expression
Answers
Answered by
2
Please Click on this photo↑↑
I hope this answer will help you.
Attachments:
Answered by
0
Answer:
- An algorithm can be defines as a procedure used for solving a problem or to perform a computational task. Algorithms consists of an exact list of instructions that conduct specified actions step by step in different routines.
Algorithm to find the largest among the two numbers:
- Step 1: Start
- Step 2: Read the two numbers and store them in num1 and num2.
- Step 3: Check if num1 > num2
- Step 4: If true then print 'num1 is larger' and go to step 6
- Step 5: else print 'num2 is larger'
- Step 6: Stop
Flowchart: A flowchart can be defined as a type of diagram that represents a workflow. A flowchart can be thought of as a diagrammatic representation of an algorithm which is a step-by-step approach to solving a task.
Check the attachment for the flowchart of above Algorithm.
For similar kind of answer, click here ->
https://brainly.in/question/23206428
https://brainly.in/question/4579550
Attachments:
Similar questions