answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

main()

{

int a,b,sum=0;

clrscr();

printf("Enter two variable:--");

scanf("%d%d",&a,&b);

sum=a+b;

printf("Sum of %d+%d=%d",a,b,sum);

getch();

}

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
ReneRene
Change my mind. I dare you.
Chat with Rene

Add your answer:

Earn +20 pts
Q: Write an c program of addition of two values?
Write your answer...
Submit
Still have questions?
magnify glass
imp