write an algorithm to find sum of any two number please tell the answer I am a student I have to submit tomorrow to teacher tell fast of grade 6 tell the correct answer
Answers
Answered by
1
Question:-
Write an algorithm to find the sun of any two numbers.
Answer:-
Here is your answer.
STEP 1: START
STEP 2: Read an integer and store it in variable A.
STEP 3: Read another integer and store it in variable B.
STEP 4: Add A and B and store in a variable named C.
STEP 5: Display the value of C.
STEP 6: END.
Sample program in Python.
a=int(input("Enter a number: "))
b=int(input("Enter another number: "))
c=a+b;
print("Sum is: ",c)
Similar questions