[nfbcs] Help with Another Assignment

laniemolinar91 at gmail.com laniemolinar91 at gmail.com
Fri Nov 3 11:09:12 UTC 2017


Hi, everyone. I'm sorry about this, but can you please help with another
assignment? I'm getting a bunch of errors when I try to compile my code, but
I'm not sure why. I'm supposed to use arrays in a program that asks the user
for 10 grades, averages them, and then displays the result. I did something
almost exactly like this in my last assignment, but this one is not supposed
to count a grade toward the average if a user enters -1, which stands for an
assignment that hasn't been completed yet. Can you please help me figure out
what could be causing these errors? I'm attaching my log from PuTTY, my
code, and the assignment instructions. If you notice that my code says this
is assignment 30 even though the instructions say assignment 31, this is
just because I'm modifying code from assignment 30 and there are some things
I haven't changed yet. I would really appreciate any help you can offer.
Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nfbnet.org/pipermail/nfbcs_nfbnet.org/attachments/20171103/f35b4d8c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: a31.cpp
URL: <http://nfbnet.org/pipermail/nfbcs_nfbnet.org/attachments/20171103/f35b4d8c/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: putty.log
Type: application/octet-stream
Size: 17337 bytes
Desc: not available
URL: <http://nfbnet.org/pipermail/nfbcs_nfbnet.org/attachments/20171103/f35b4d8c/attachment.obj>


More information about the NFBCS mailing list