Write a program to add two numbers.|Addition of Two number in C

AIM:-Write a program to add two numbers.   

Source Code:       


#include<stdio.h>
 #include<conio.h>
 void main()
  clrscr();
 int a,b,S;
  printf("Enter the first number=");
 scanf("%d",&a);
  printf("Enter the 2nd number=");
 scanf("%d",&b);
 S=a+b;
 printf("Total sum=%d");
 getch();
}

Output of C addition program:

  


What is C language and describe the main characteristics.                                 

🔥 How to Use Pen Drive As A Ram in Hindi

How to Call From Laptop and Computer? and How to track any mobail number?
             

Post a Comment

0 Comments

Copyright (c) 2019 Designed by Shubham tiwari All Right Reseved