Computer Science, asked by dishakedia, 6 months ago

1. Write an algorithm and draw flowchart to accept three numbers (h, p, b) and check whether they are “Pythagorean Triplet” or not.
(If h² = p²+b², then it is known as Pythagorean Triplet otherwise not)

2. Write an algorithm and draw flowchart to accept a number & check whether the number is divisible by 5 and 2 or not.

Answers

Answered by Anonymous
1

Answer:

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.

Similar questions