Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
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 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, ¤tStock) ; stocks for.c:74:4: error missing terminating "character scanf ("%f, &CurrentStock); stocks_for.c:108:1: eror: expected before tokenStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started