Computer Science, asked by varshavarshney2408, 18 days ago

Q- create an algorithm and flowchart to calculate the division of two numbers? ​

Answers

Answered by poojashukla1911
0

Answer:

Step 1:Input two numbers (a and b)

Step 2:Find the output of (a - b)

Step 3:Find output of (a*b)

Step4:Find output of (a÷b)

Step 5:If a or b in both (a*b) and (a÷b) is 0(zero),then answer is also

Answered by jha9167258874
0

Answer:

Why would you want a flow chart for something so basic?

Step 1: Input the two numbers, a and b.

Step 2: Output a + b.

Step 3: Output a - b.

Step 4: Output a * b.

Step 5: If b = 0 output “undefined”.

Step 6: Else output a / b.

The only marginally interesting thing happens at step 6 where you have to make sure you don’t divide by 0.

Explanation:

please mark me brainliest

Similar questions
Math, 9 months ago