Answered step by step
Verified Expert Solution
Link Copied!

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:

image text in transcribed

My code:

image text in transcribed

image text in transcribed

image text in transcribed

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 token

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions