#include <stdio.h>
main()
{
double sum, v;
int i;
sum = 0;
while (1) { (scanf("%f",v)==i); printf ("\t%lf
",sum=sum+v); }
}
What is wrong with the previous program, what do they want to do with i? I
have made it ALMOST work, but the i is mysterious, plus I don't understand why
it's sum+v, not i+v.