...

View Full Version : Dr.Scheme little program problem. Please help.



Protein
12-30-2011, 06:48 PM
Please help to write code on scheme language:

Procedure (SUblists superlist) gets members that is it's lists. Procedure checks if all the members of sublists are numbers only.

For example:

(define YYY(list (list 5 8 3) (list 4 14 2)(list 12 -25 33)))

(Sublists YYY) => #t

(define ZZZ (list (list 12 'as 34)(list "gfrr" 45)(list 22 56 78)))

(Sublists ZZZ) => #f

Spookster
12-30-2011, 09:23 PM
http://www.codingforums.com/showthread.php?t=53446



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum