Computer Science, asked by atifsd4132, 10 months ago

describe an algorithm to add 2 four-digit numbers

Answers

Answered by sakshisingh27
30

Explanation:

The standard algorithm for addition has three simple rules: Rule 1: Line up the numbers vertically by matching the place values - and start with the ones place. To explain: When you add multi-digit numbers, the problem is typically written vertically - meaning one set of numbers is on top of the other

Answered by StaceeLichtenstein
1

Algorithm to add 2 four-digit numbers Is given below

Explanation:

  • Declared a two integer variable suppose "a" and "b" .
  • Initialized these variable with some values.
  • Declared another variable of integer type to holding there result suppose "c".
  • Perform operation c=a+b.
  • Finally Display c.

Learn More :

https://brainly.in/question/4580130

Similar questions