FOR t=0 TO 80 STEP .25
a=int(SIN(t)*20)+20
gosub [print]
NEXT t
goto [end]
[print]
for p=1 to a
print" ";
next p
print"X"
return
[end]
Oh yea... look at those curves...
Name:
!8ll0DtPXyM2007-09-23 11:43 ID:OtupIRI+
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Name:
!8ll0DtPXyM2007-09-23 11:47 ID:OtupIRI+
Or for thoose who like it niiiice and sloooow
for t=0 to 80 step .25
a=int(SIN(t)*20)+20
gosub [print]
next t
goto [end]
[print]
print tab(a);"X"
for l=1 to 9001
next
return
[end]
Name:
Anonymous2007-09-23 12:56 ID:C51QBoT6
this was an assignment in my freshman C class, except it was to be printed horizontally, yawn.
Name:
Anonymous2007-12-01 19:47
I came a little in my sleep
Name:
Anonymous2007-12-01 22:28
#include <math.h>
#include <stdio.h>
main ()
{
float i;
int j, a;
for (i = 0; i <= 80; i += 0.25)
{
a = (int)(sin(i) * 20) + 20;