2. Program to assign values of two numbers and print their addition.

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,ans;
clrscr();
a=10;
b=20;
ans=a+b;
printf(“Addition is : %d”,ans);
getch();
}