Question: Program is stuck in an infinite loop after the 1st sum is calculated. Does not print off the mean or variance. What am I doing

Program is stuck in an infinite loop after the 1st sum is calculated. Does not print off the mean or variance. What am I doing wrong? Program will not run successfully. Attached are the images of my program (2), the ideal output, and my output. Any help appreciated!!

Program is stuck in an infinite loop after the 1st sum is

calculated. Does not print off the mean or variance. What am Idoing wrong? Program will not run successfully. Attached are the images of

my program (2), the ideal output, and my output. Any help appreciated!!

incLude include #include double sum (char s); void meanVar (chark s, double meanPtr, double* varPtr); void counts (char s); int main () char num [4][50] {"12, 34, 56, 78", = 82.16, 41.296", 2, -3, 5-7, 11, -13,17,-19", 9.00009, 90.0009, 900.009, 9000.09, 90000.9" double mean, variance; int i; for (i:i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!