Forum: Ruby help please i'm starting

1c7ac7dcc59e55c2d651d0c2e7de3c69?d=identicon&s=25 Jonshon Patrick (wi91)
on 2014-06-20 08:01
RUBY Make a program that expects a filename command-line parameters (if
it does not exist in the specified file name "ErrorCode: 1" error
message, enter the program). The parameter file structure should be as
follows:

Alma Peter ALPTAAI.ELTE IP 08cSCNYE / 1 10, 12, 5, 0, 3
Beetle Thomas BOTTAAI.ELTE mm1n1sn4e / 1 11 - 10, 1 -
Matus Cak CSMPAAI.ELTE IP 08cSCNYE / 1 1, 16, -, 8, 7
Michael Small Paul KIPTABI.ELTE IP 08cSCNYE / 1 10, 5, 3, 10, 7
Miklos Nagy NAFTAAI.ELTE mm1n1sn4e / 1 6, 16, 2, 7, 3
Rákóczi RAFTAAI.ELTE IP 08cSCNYE / 1 9, -, 8, 5, 6

The file data and scores of students achieved in exam (if not sold off
task '-' symbol) is included. (A variety of items on a line are
separated by TAB s).

The program to create a list of file names ossz.txt file that contains
the students ETR codes, the total score and the fact that many tasks
have been described:

ALPTAAI.ELTE 30 (5 tasks)
BOTTAAI.ELTE 22 (3 tasks)
CSMPAAI.ELTE 32 (4 questions)
KIPTABI.ELTE 35 (5 tasks)
NAFTAAI.ELTE 34 (5 tasks)
RAFTAAI.ELTE 28 (4 questions)


I need help how to get started. Thanks
54404bcac0f45bf1c8e8b827cd9bb709?d=identicon&s=25 7stud -- (7stud)
on 2014-06-21 01:15
Maybe first get your teacher to translate the instructions into English.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.