mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-02 04:41:31 +00:00
17 lines
235 B
C
17 lines
235 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
int i;
|
|
int value;
|
|
|
|
for(i=0;i<256;i++) {
|
|
value=80.0+(sin(i*(2*3.141592653589)/256.0)*78.0);
|
|
//printf("%d %d\n",i,value);
|
|
putchar(value);
|
|
}
|
|
|
|
return 0;
|
|
}
|