Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/User-input-Text/Amazing-Hopper/user-input-text.hopper
Normal file
12
Task/User-input-Text/Amazing-Hopper/user-input-text.hopper
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include <flow.h>
|
||||
|
||||
#import lib/input.bas.lib
|
||||
#include include/flow-input.h
|
||||
|
||||
DEF-MAIN(argv,argc)
|
||||
CLR-SCR
|
||||
MSET( número, cadena )
|
||||
LOCATE(2,2), PRNL( "Input an string : "), LOC-COL(20), LET( cadena := READ-STRING( cadena ) )
|
||||
LOCATE(3,2), PRNL( "Input an integer: "), LOC-COL(20), LET( número := INT( VAL(READ-NUMBER( número )) ) )
|
||||
LOCATE(5,2), PRNL( cadena, "\n ",número )
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue