Ok below I have typed the problem. Below that I have typed what I have been spending the entire day working on. I have already made the mock-up chart, print chart, and sample records.
The problem:
The Finley Fine Art shop maintains records for each item in the shop, including the title of the work, the artists who made the item, and the medium (watercolor, oil, clay), and the monetary value. The records are sorted by the artist within medium. Design the logic that produces a report that lists all items in the store, with a minor total value following each artists work, and a major total following each medium.
What I have developed so far:
Print chart (sample of mine)
Title Value Artist Mediumxxxx 99999 xxxx xxx
Medium Total 99999
Value equaling the minor total following each artists work.
Medium Total equaling major total following the medium.
Pseudocode:Start
perform housekeeping ()
while not eof
perform mainloop()
endwhile
perform finishUp()
Stop
housekeeping()
string Title
string Artists
string Medium
num Value
num Total = 0
string Header = "The finely Fine Art Shop"
string ColHead = "Title Artist Value Medium "
string footer = "Items in store"
print Header
print ColHead
get Title,Value,Artist,Medium
return

THIS IS WHERE I AM TOTALLY CONFUSED
Do I approach the mainloop() with an "if" statement like-
if medium not = value then ?????
I really don't know what direction to take the rest of the assigment.
This is my sixth lab I have never gotten less than 25 out of 30 and I am freaking out because I am very lost on this and If any of you bright minds can help it would be the best thing EVER!!!
I also really need to learn because I'm going into programming not someone just taking the course, unfortunately my Prof. does not teach she gives a paper telling us what to do for a certain date and we do not see her until the next assignment.