Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdafx.h>
- #include <iosteam>
- void printvalues(int x)
- {
- std::cout << x << std::endl;
- }
- void printvalues2(int y)
- {
- std::cout << y << std::endl;
- }
- void addition(int x, int y)
- {
- std::cout << x << " + " << y << " = " << x + y << std::endl;
- }
- int main()
- {
- printvalues(6);
- printvalues2(7);
- std::cout << addition << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement