Dies ist eine statische Kopie unseres alten Forums. Es sind keine Interaktionen möglich.
This is a static copy of our old forum. Interactions are not possible.

Torrero

Senior Schreiberling

  • "Torrero" is male
  • "Torrero" started this thread

Posts: 854

Date of registration: Oct 16th 2003

Location: Laatzen

Occupation: Angewandte Informatik

21

Thursday, November 27th 2003, 2:27pm

Theoretisch müsste das dann ja teilweise so gehen, nur wie macht man das dann das die Berechnung weiter geführt wird?


(define (dec->bin x)
(if (= (remainder x 2) 0) (cons 0 list) (cons 1 list))
dec->bin (/ x 2))

This post has been edited 1 times, last edit by "Torrero" (Nov 27th 2003, 5:14pm)


htk

Erfahrener Schreiberling

Posts: 262

Date of registration: Oct 16th 2003

22

Thursday, November 27th 2003, 8:32pm

hm guck dir mal ein paar programmtexte von iterativen programmen vorheriger übungen an
dann solltest du eigendlich von selbst draufkommen :)
surfs in mysterious ways