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
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
+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) :
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