Code Competitions

Coding competition

Sunday, 12 May 2013

sum of numbers

/* Program to find sum of 2 numbers */
#include<stdio.h>
#include<conio.h>
void main()
{
    int a,b;
    printf("enter the values of a,b");
    scanf("%d%d",&a,&b);
    a=a+b;
    printf("sum of numbers is %d",a);
    getche();
}

No comments:

Post a Comment