Add Two Numbers Using Function

C++ Easy 6 views
Back to Questions

Problem Description

Create function that takes two numbers and returns their sum.
Real Life: Like a adding machine that does addition for you.

Step-by-Step Logic:
1. Create function with two parameters
2. Add both parameters
3. Return result
4. Call function from main and print result

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next