Computer Science, asked by bankarpratiksha8600, 3 months ago

write algorithms for additional of two numbers. ​

Answers

Answered by RapppMonsterrr
0
An algorithm is a set of well-defined instructions in sequence to solve a problem.

Now, algorithm for sum of two numbers is as follows:

Step 1: Start

Step 2: Declare variables num1, num2 and sum.

Step 3: Read values for num1 and num2.

Step 4: Add num1 and num2 and assign the result to sum.

sum=num1+num2

Step 5: Display sum

Step 6: Stop

Similar questions