Saturday, July 20, 2013

Sum of two number in C

Sum of Two Number
programming-and-it-research-center.blogspot.com


#include<stdio.h>
 int main()
 {
  int a,b,c;
   printf("Enter the 1st value : ");
   scanf("%d",&a);
  printf("Enter the 2nd value: ");
   scanf("%d",&b);
  c =a+b;
   printf("Total of your value =  %i",var3);
  return 0;
 }

No comments:

Post a Comment