Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream> //pre-processor directive
- using namespace std; //std library
- void printCrap(int x){ //what type of data and variable name
- cout << "favourite number is " << x << endl;
- }
- int main() //it starts with the main 1st
- {
- printCrap(20);
- return 0; //to tell that program ran fine
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement