recent

C Program To Find Sum Of 3 Numbers

C Program To Find Sum Of 3 Numbers

#include<stdio.h>
int main()
{
   int a, b,c, sum;

   printf("Enter two no:\n ");
   scanf("%d %d%d",&a,&b,&c);  //input from user

   sum = a + b + c;

   printf("Sum : %d", sum);   //print output on screen
}
Powered by Blogger.