answersLogoWhite

0

Calculate sum of three number in c program?

Updated: 8/18/2019
User Avatar

Wiki User

14y ago

Best Answer

it's simple:

{

int a,b,c,d;

printf("enter the numbers");

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

d=a+b+c;

printf("the sum is=%d" d);

}

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Calculate sum of three number in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions