Computer Science, asked by henzawafa, 6 hours ago

Write a program to add two numbers using function.​

Answers

Answered by Fatima550
2

Answer:

include<stdio.h>

int main() {

int num1, num2, res;

printf("\nEnter the two numbers : ");

scanf("%d %d", &num1, &num2);

//Call Function Sum With Two Parameters.

res = sum(num1, num2);

printf("nAddition of two number is

Explanation:

This is the answer of this

Answered by DARKIMPERIAL
2

Answer:

PROGRAM TO ADD TWO NUMBERS USING FUNCTION.

Explanation:

SELECT ANY ONE

#include<stdio.h>

int main() {

int num1, num2, res;

printf("\nEnter the two numbers : ");

scanf("%d %d", &num1, &num2);

//Call Function Sum With Two Parameters.

res = sum(num1, num2);

printf("nAddition of two number is : ");

Similar questions