- #include <stdio.h>
- #include <string.h>
- main()
- {
- printf("hello world!n");
- int max = 5;
- int i = 0;
- char *name = "";
- puts("what is your name?");
- //gets(name);
- scanf( "%s", name );
- //int k = 0;
- if(strcmp(name, "blake")==0)
- {
- for(i = 0; i < max; i++)
- {
- printf("hello! n" );
- }
- }
- return 0;
- }
C code
By: microhaxo | Date: Dec 28 2009 02:59 | Format: None | Expires: never | Size: 333 B | Hits: 1051
Latest pastes
1 hours ago
9 hours ago
2 days ago
3 days ago
3 days ago