Question: write a flowchart //C Program to Add two Numbers Using Function in C Programming #include int addition(int numi, int num2) { int sum; sum =

write a flowchart
 write a flowchart //C Program to Add two Numbers Using Function

//C Program to Add two Numbers Using Function in C Programming #include int addition(int numi, int num2) { int sum; sum = num1+num2; /* Function return type is integer so we are returning * an integer value, the sum of the passed numbers. */ return sum; } int main() { int vari, var2; printf("Enter number 1: "); scanf("%d", &vari); printf("Enter number 2: "); scanf("%d",&var2); /* Calling the function here, the function return type * is integer so we need an integer variable to hold the * returned value of this function. int res = addition (vari, var2); printf ("Output: %d", res); return 0; }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!