Hi,
I am a newcomer can anywhere translate this to lisp?
cin<<x;
for( i = 0; i < x; i++) {
…
}
Thx..
Georg#
int x;
cin >> x;
for(int i=0; i<x; i++) { ... }(let ((x (read *standard-input*)))
(assert (integerp x))
(dotimes (i x) ...))georg wrote:The prog. is for Acad! Is there a difference?

Users browsing this forum: Google [Bot] and 2 guests