Algorithm
Step 1: Start
Step 2: Input a,b,c
Step 3: Sum=a+b+c
Step 4: Print Sum
Step 5: End
Flowchart
C-Program
#includeint main()
{
int a,b,c,sum;
printf("Enter three number:");
scanf("%d%d%d",&a,&b,&c);
sum=a+b+c;
printf("Summation is:%d",sum);
}
Source and Run File
0 Comments