A simple program to demonstrate the addition of three numbers using C language in Linux Mint operating system.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
Program Listing
#include <stdio.h>
int main(){
int a=0,b=0,c=0, sum=0;
printf("\n\n");
printf("\tAddition of Three Numbers in C using Linux");
printf("\n\n");
printf("\tEnter three numbers : ");
scanf("%d%d%d",&a,&b,&c);
sum = (a+b+c);
printf("\n");
printf("\tThe sum of %d, %d, and %d is %d.",a,b,c,sum);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}
No comments:
Post a Comment