Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using std::cout;
- using std::endl;
- int calcula ( int a , int b) { return a + b; }
- int main()
- {
- int a = 1;
- int b = 2;
- cout << "Resultado: " << calcula( a, b ) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment