Computer Science, asked by muneshcool2011, 1 month ago

write a program to calculate sum of three interger values.​

Answers

Answered by mohini4479
1

Answer:

Addition of three numbers using function in C

#include <stdio.h>

#include <conio.h>

sum(int,int,int);

int a,b,c,d;

printf("\nACCEPT VALUE FOR a,b,c:\n");

scanf("%d %d %d",&a,&b,&c);

d=sum(a,b,c);

printf("\nSUM OF %d,%d and %d IS %d",a,b,c,d);

Similar questions