The language is C.
6. The following piece of code computes and prints the sum of all the of odd values in the array Integer. Locate the errors and show how to fix them. [7] int Integer[] = {-9,8,10,2,1,-1,4,-7,3,12]; int i; S; while(i <= 10) { if(i$2) S + Integer (i); i; } printf("%f", S);
6. The following piece of code computes and prints the sum of all the of odd values in the array Integer. Locate the err
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
6. The following piece of code computes and prints the sum of all the of odd values in the array Integer. Locate the err
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!