Computer Science, asked by atharvpandey2121, 11 months ago

write a program to add two numbers

Answers

Answered by SpiderBro
0

Answer:

You did not specify the programming language you wanted the answer in. So I'll be posting a general overview on how you want to do it

Explanation:

1. Take the input from the user for each of the numbers and assign the input value to a variable each

2. Make a new variable which is equal to the sum of 2 variables

3. Output the new variable

Logic

Input -> a = 5, b = 6

New variable -> c = a + b

Therefore, value of c = 11

Output -> 11

Similar questions