Math, asked by farhaanaarif84, 1 month ago

Write algorithm for the following problems. 1. To add two numbers. 2. To find out if a number is even or odd.​

Answers

Answered by XxSWASTIKAxX
3

Answer:

1)

step 1: start

step 2: input two numbers as A,B

step 3: add the two numbers.

step 4: display result

step 5: stop

2)

step 1: start

step 2: input a number as A

step 3: check if the number is divisible by 2 or not

step 4: if yes, then print number is even else print number is odd

step 5: stop

For flowchart refer the attachment.

NOTE:

flowcharts are always drawn with pencil . For clear pic i am using pen .

Hope it helps pls mark the answer as brainliest.

Attachments:
Similar questions