CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
quick help coding

 



youknowwho
New User

Dec 11, 2004, 4:45 PM

Post #1 of 4 (381 views)
quick help coding Can't Post

ok i have attached the perl script and text document of what i have done so far.

now what i need to do is.... have it read the screcords.txt file and produce a report that will show all female students who are enrolled part time, it is to show the students number, name, address and age.

please help me if you can and if you need anymore information, just let me know... thanks.
Attachments: srecord.txt (3.33 KB)
  less1601.pl (1.10 KB)


youknowwho
New User

Dec 12, 2004, 11:34 AM

Post #2 of 4 (374 views)
Re: [youknowwho] quick help coding [In reply to] Can't Post

some other things... it needs to have a DOWHILE loop to control repitition and a IF statement or statements to select 'S', female and part time (p/t) students.


youknowwho
New User

Dec 12, 2004, 10:19 PM

Post #3 of 4 (371 views)
Re: [youknowwho] quick help coding [In reply to] Can't Post

i hope this helps

The Solution algorithm is:

Produce part time female list
Print 'PART TIME FEMALE STUDENTS' heading
Read student record
DOWHILE more records
IF student record = 'S' record THEN
IF attendance_pattern = P/T THEN
IF gender = female THEN
Print student_number, name, address, age
ENDIF
ENDIF
ENDIF
Read student record
ENDDO
END


KevinR
Veteran


Dec 13, 2004, 12:32 AM

Post #4 of 4 (370 views)
Re: [youknowwho] quick help coding [In reply to] Can't Post

helping people with their school assingments is frowned upon on this forum.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives