Question: I need this in c + + please main.cpp / * * Given 2 ints, a and b , print their sum. However, sums in

I need this in c++ please main.cpp
/**
Given 2 ints, a and b, print their sum.
However, sums in the range 10..19 inclusive,
are forbidden, so in that case just print 20.
*/
int sorta_sum(int a, int b)
{
int result =0;
// Add your code here
return result;
}
/**
* Given 2 ints, a and b, print their sum.
* However, sums in the range 10..19 inclusive,
* are forbidden, so in that case just print 20.
*/
int sorta_sum(int a, int b)
{
int result =0;
// Add your code here
return result;
}
I need this in c + + please main.cpp / * * Given

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 Programming Questions!