Write the definition of a function oneMore, which receives an integer parameter and returns an integer that is one more than the value of the parameter. So if the parameter's value is 7, the function returns the value 8. If the parameter's value happens to be 44, the functions returns the value 45.
.
.
Click on the title for the solution
.
.
int oneMore(int x )
{
int y=1+x;
return y;}
.
Click on the title for the solution
.
.
This is the answer:
:
int oneMore(int x )
{
int y=1+x;
return y;}
Comments
Post a Comment