Computer Science Canada

Need Help With Organizing a List!

Author:  Crazy_Wizard [ Sat Dec 03, 2022 1:35 pm ]
Post subject:  Need Help With Organizing a List!

What is it you are trying to achieve?

I am creating a simple program for an assignment that will ask the teacher about How many students there are,
What are there grades, absences, all that cool shtuff.


What is the problem you are having?

I've got it into a list already with sorted data. SWEET!
There is just one problem though. When all the info is inputted, answers may vary in size and warp the shape
of the list.


Describe what you have tried to solve this problem

I have no Idea how to troubleshoot this.

Post any relevant code

(Arrays are at work with inputting the data)

Turing:


% Info Sheet

put "          IC2SO COURSE INFORMATION, SEMESTER ", semester
put "     ======================================================"
put "            NAME             GRADE        DAYS ABSENT"
put " "
for i : 1 .. count
    put "            ", name (i), "     ", mark (i), "     ", absent (i)
    put " "
end for



Please specify what version of Turing you are using

I am using Turing Version 4.1.2

Any help is GREATLY appreciated! Very Happy


: