write a program to add two numbers
Answers
Answered by
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
English,
5 months ago
Chemistry,
5 months ago
English,
11 months ago
Hindi,
11 months ago
Business Studies,
1 year ago