Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void simpleFunction();
- int main()
- {
- cout << "Test!" << endl;
- cout << endl;
- simpleFunction();
- return 0;
- }
- void simpleFunction()
- {
- int x;
- cout << "type in number: ";
- cin >> x;
- cout << "The number u typed in was: " << x << endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement