Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~171 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for aman55

:#include<stdio.h> #include<conio.h> void main() { int i; float x[10],value,total; clrscr(); printf("enter ten real numbers"); for(i=0;i<10;i++) { scanf("%f",value); x[i]=value; } total=0.0; for(i=0;i<10;i++) total=total+x[i]*x[i];//eliminate total from here printf("/n") for(i=0;i<10;i++) printf("[%2d]=%5.2f/n",i+1,x[i]; printf("total=%2f/n",total); } if i write total=x[i]*x[i] =102 an another answer why?? nd if wrie=total=total+x[i]*x[i] =446.86 10 real number 1.1, 2.2 ,3.3 ,4.4 …

Member Avatar for alaa sam
0
171