Write a function add that safely adds two integers:
int add(int a, int b) noexcept
The program already calls add and prints the result. You only need to implement the add function.
Example Input:
5 7
Output:
Result: 12
Input:
-3 8
Result: 5
Test Cases
Test Results
Input
Expected Output