Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* this is my code */
- #include <stdio.h>
- int main()
- {
- int number;
- printf( "Enter a Number: " );
- scanf( "%d", &number );
- printf( "Your number was %d", &number );
- getchar();
- return 0;
- }
- /* This is the code they wrote copied and pasted -
- #include <stdio.h>
- int main()
- {
- int this_is_a_number;
- printf( "Please enter a number: " );
- scanf( "%d", &this_is_a_number );
- printf( "You entered %d", this_is_a_number );
- getchar();
- return 0;
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement