Page 1 of 1

1) float numberl, number2; scanf("%d%d", numberl, number2); 2) int x=129;y=323, z; z=x+y; Printf ("The sum of %d and %d

Posted: Mon Jun 06, 2022 5:09 pm
by answerhappygod
1 Float Numberl Number2 Scanf D D Numberl Number2 2 Int X 129 Y 323 Z Z X Y Printf The Sum Of D And D 1
1 Float Numberl Number2 Scanf D D Numberl Number2 2 Int X 129 Y 323 Z Z X Y Printf The Sum Of D And D 1 (229.52 KiB) Viewed 22 times
identify and correct the syntax and logical errors in each of following.
1) float numberl, number2; scanf("%d%d", numberl, number2); 2) int x=129;y=323, z; z=x+y; Printf ("The sum of %d and %d is :x+y ,x,y,z); (3) int x=5, y=5,r; x*x + y*y= r; 4) if (counter > 0); average = total/counter; else printf ("cannot divide by zero"\n) :