Question: Please take a look at my errors in my code. I would greatly appreciate a second look at this code. Thank you. Errors: My code:

Please take a look at my errors in my code. I would greatly appreciate a second look at this code. Thank you.

Errors:

Please take a look at my errors in my code. I would

My code:

greatly appreciate a second look at this code. Thank you. Errors: My

code: stocks for.c: In function 'main stocks_for.c:27:44: error: 'currentStock' undeclared (first use

in this function) float meansum = 0, varian ceSquareSum= 0; currentStock; each

stocks for.c: In function 'main stocks_for.c:27:44: error: 'currentStock' undeclared (first use in this function) float meansum = 0, varian ceSquareSum= 0; currentStock; each undeclared identifier is reported only once for eac h function it appears in stocks_for.c:33:8: warning: missing terminating character enabled by default] scanf ( ' %c ", & ch) ; stocks_for.c:33:2: error: missing terminating ' character scanf ( ' %c ", &ch) ; stocks_for.c:35:2: error: expected expression before 'if stocks_for.c:74:10: warning: missing terminating " character [enabled by default] scanf("%f, &currentStock) ; stocks for.c:74:4: error missing terminating "character scanf ("%f, &CurrentStock); stocks_for.c:108:1: eror: expected before token

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!