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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 21 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) :
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply