...

View Full Version : drscheme help



takeachance
09-29-2009, 06:22 AM
program being used is drscheme

the question is, i need to create a function function-name that consumes an integer 10 or greater and produces the number
obtained by removing the units For example, (function-name 173) will produce 170, (function-name 445) will produce 440, and (function-name 120) will produce 120.

i tried on yahoo answers too but this isnt a popular enough program to get help
any help appreciated thank you

hellohollar
11-03-2009, 06:59 PM
I know this really late but here is the code
(define (fun n)
(* (quotient n 10) 10)
)

oesxyl
11-03-2009, 07:17 PM
program being used is drscheme

the question is, i need to create a function function-name that consumes an integer 10 or greater and produces the number
obtained by removing the units For example, (function-name 173) will produce 170, (function-name 445) will produce 440, and (function-name 120) will produce 120.

i tried on yahoo answers too but this isnt a popular enough program to get help
any help appreciated thank you
any scheme resurse is good, you must only discover the differences.
Look over this links:
http://www.scheme.com/tspl4/
http://www.scheme.com/csug/
http://schemers.org/
http://www.schemers.com/
http://groups.csail.mit.edu/mac/projects/scheme/index.html
http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html

best regards

kovah13
12-11-2009, 02:03 AM
I need some help on creating a program that generates a list of posn and draws the points onto an empty scene... I can email the problem if anyone can help me out.... thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum