The assignment I was first talking about logic and instructions
Alright here is my logic I do not think I am right but This is my first attempt at the logic also the instructions are in attached word file sorry it is in such huge font
state variables store num. bagel price etc...
declare file point to bagel.seq
use an if statement and fopen to open the bagel.seq
use printf to state if file does not open
use else command if file does open
use printf with formatted conversion identifiers and put store number bagel name bagel price etc.
use fscanf to print out the information from the bagel.seq file in sequential order under the formatted columns
use while loop to keep it reading information from the bagel. seq file until end of file
use fclose to close the file.
The only thing I am not sure how to do is the math