SHOW:
|
|
- or go back to the newest paste.
1 | - | #include <stdio.h> |
1 | + | dim as string sName |
2 | - | #include <string.h> |
2 | + | input "Name"; sName |
3 | print "Hello, "+sName+"!" | |
4 | - | int main() { |
4 | + | |
5 | - | char zName[64]; |
5 | + | if len(sName) > 12 then |
6 | - | printf( "name? "); |
6 | + | print "What a big name!" |
7 | - | scanf( "%s" , (char*)&zName ); |
7 | + | end if |
8 | - | printf( "Hello, %s!\n" , zName ); |
8 | + | |
9 | sleep |