Take the 2-minute tour ×  I have a question about how my linked
lists are being stored. The data is being inputted from a file
like 0 1 2 3 4 each number represents a different line of data.
The data is not important in this question however.  I am trying
to store it into my linked lists and its being stored, but It is
being stored in from bottom to top, so when i Output it, it
prints out in the wrong order. I am not sure if i am storing it
in the wrong order, or printing it in the wrong order Please
help me, Thank You!   struct roomData float widthFeet,
widthInch; float lengthFeet, lengthInch; char roomName[100]; int
roomNumberOfType; char roomType[6]; //char of room type int
roomStock[100][2]; //for storing each room stock types int
roomHasStock; //if the room has a stock avaliable int
roomStockCount; //how many stocks the room has float area;  //
sq ft float rentalRate; float profitsPerRoom; float netProfit;
float grossProfit; char stockLine[200];  int x; struct roomData
*nextRoom;   Declaring the struct l