What is the output of the following program?
#include<stdio.h>
int C [10] = {1,2,3,4,5,6,7,8,9,10);
main()
{
int a, b=0;
for(a=0:a<10; ++a)
if(c[a]%2= = 1)
b+=c[a];
printf ("%d", b) ;
Answers
Answered by
0
Answer:
Output =>
24.0
mark as brainliest, it really motivates!
Similar questions