User Input: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 27: | Line 27: | ||
read STRING |
read STRING |
||
read INTEGER |
read INTEGER |
||
{{task}} |
Revision as of 22:44, 9 January 2007
In this task, the goal is to input a string and the integer 75000, from the normal user interface.
Text Terminal
Perl
Interpreter: Perl 5.8.8
#!/usr/bin/perl -w use strict; my $string = <STDIN>; my $integer = <STDIN>;
UNIX Shell
Interpreter: Debian Almquish SHell (dash)
#!/bin/sh read STRING read INTEGER
Interpreter: Bourne Again SHell (bash)
#!/bin/bash read STRING read INTEGER
User Input
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.