answersLogoWhite

0

1.Declare three variables as
int a,b,c;


2.Get the Input of two numbers of Integers from the user:
scanf("%d",&a);
scanf("%d",&b);

3.add a and b and store the result in c

4. print c

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
More answers

there are no algorithms for subtracting algorithms!!!

User Avatar

Wiki User

16y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Write an algorithm for addition of two integer?
Write your answer...
Submit
Still have questions?
magnify glass
imp