Thursday, April 8, 2021

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

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

#include<stdio.h>
#include<conio.h>

void main()
{
  int a=10,b=20;
  clrscr();

  int ans = a + b;

  printf("Addition is : %d",ans);

  getch();
}
#basics 
@C_Codings

No comments: