important qution on ruby

  • Thread starter Sayed mohammed Sayed jawad
  • Start date
S

Sayed mohammed Sayed jawad

hi
I have problem with ruby and i need help from you:
Q.
write ruby script that will read a student transcript which was saved as
text file and retrieve the following information:



1. find the major gpa (for itcs or itce)
2.find the id number and name of student
3. find the how much credits he has passed and his cumulative
4.list the course where the student received a grade of f

Attachments:
http://www.ruby-forum.com/attachment/5316/1.txt
 
R

Robert Klemme

I have problem with ruby and i need help from you:
Q.
write ruby script that will read a student transcript which was saved as
text file and retrieve the following information:

1. find the major gpa (for itcs or itce)
2.find the id number and name of student
3. find the how much credits he has passed and his cumulative
4.list the course where the student received a grade of f

And what is your "problem with Ruby"? You sure do not expect us to do
your homework for you, do you?

robert
 
P

Phillip Gawlowski

hi
I have problem with ruby and i need help from you:
Q.
write ruby script that will read a student transcript which was saved as
text file and retrieve the following information:



1. find the major gpa (for itcs or itce)
2.find the id number and name of student
3. find the how much credits he has passed and his cumulative
4.list the course where the student received a grade of f

We certainly can help you with debugging your code, but writing a
script from scratch is a bit much to ask. :)

If you need a starting point, investigate the File, Array, Hash and
String classes.

Note: It's a bad idea to post personal information (like a student's
name and ID number) on the internet.

--
Phillip Gawlowski

Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.
 
S

Sayed mohammed Sayed jawad

hi
i need code by ruby regular expression and i am new to this language so
i need to solve this problem to know what happen exactly.
note: the information is not real.
 
C

Charles Calvert

i need code by ruby regular expression and i am new to this language so
i need to solve this problem to know what happen exactly.
note: the information is not real.

You still haven't asked a question, you just told us that you need to
write a script. Go ahead and write one. If you run into questions
doing so, ask them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,200
Latest member
LaraHunley

Latest Threads

Top