Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can anyone help me debug this code? I keep getting an error but I don't know where it's coming from 6 1 k; 2 double

Can anyone help me debug this code? I keep getting an error but I don't know where it's coming from

image text in transcribed

6 1 k; 2 double sin() ,cos(); 3 main() 4 { 5 float A= @, B=0,i,j, z[1760); char b[1760); 7 printf("\x1b[2J"); 8 for(;;) 9 { 10 memset(b,32,1760); 11 memset(z, 0,7040); 12 13 for(j=0;6.28>j;j+=0.07) 14 15 for(i=0;6.28>i;i+=0.02) 16 { 17 float c=sin(i),d=cos(j),e=sin(A), f=sin(j).g=cos(A), h=d+2, D=1/(c*h*e+f*g+5), 1=cos(i), m=cos (B), n=s\in(B), t=c*h*g-f*e; 18 19 int x=40+30*D*( 1*h*m-t*n), y=12+15*D*( 1*h*n+t*m), o=x+80*y, N=8*((f*e-c*d*g)*m-c*d*e-f*g-1*d*n); 20 21 if(22>y&&y>@&&x>@&&80>X&&D>z[0]) 22 23 z[0]=D; ; ; b[0]=",,--:;=! *#$@"[N>?N:@]; 24 25 26 /*#****!! -*/ 27 printf("\x1b[H"); 28 29 for(k=0;1761>k;k++) 30 31 putchar(k%80?b[k]:10); 32 A+=0.04;B+=0.02; 33 } 34 } 35 /*****####*******!!=;:- 36 ::==!!!**********!!!==::- 37 .,;;;========; ; ; :--. 38 */ 39

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions

Question

2. Why does email facilitate straight talk?

Answered: 1 week ago