Computer Science, asked by Anonymous, 1 year ago

write a program to input sum of two number by using return type function by parameterized


ance62: hey frnd
ance62: Minutes turn into hours but our conversations never end. Here's to another 365 days on non-stop chatter! Wish you a very happy new year, my friend.
ance62: happy new year

Answers

Answered by osamahere313
1

//this function is in c++

int sum(int a,int b)

{cout<<"enter the first number:";

cin>>a;

cout<<"enter the second number:";

cin>>b;

s=a+b;  //this is the sum

return s;

}

Answered by villageboy
1

❤OK,let we solve the problem

Similar questions