0% found this document useful (0 votes)
34 views3 pages

3 B

Uploaded by

MAPOSA KIARA M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
34 views3 pages

3 B

Uploaded by

MAPOSA KIARA M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
“ 43. The 1D array studencivane() contains the names of students in a class. The 20 array Studenttana |) and studenemaee() bs the same, ‘The varabia C1asssize contains the number of students in the class. The variable Subjectie ‘contains the number of subjects studed. Al stadonis study the same numberof subjects, ‘The arays and variables have aady boon sol up and the dala stored, ‘Students are awarded a grade based on their average mark. rage mark Grade awarded ‘greater than or qual to 70 distinction greater than oF equal t0 58 and less han 70 | ment greater than oF equal to 40 and less than 65 | pass tess than 40 fal ‘Write program that meats the folowing requirements: ‘calculates the combined total mark for each student fr al their subjects + calculates the average mark for each student for all their subjects, rounded to the nearest I Grade awarded rece can 00 Ye Soare Ferman + calculales, slores and aufpus the number of cstinctions, meni, passes and fais for the font vihole dass, ‘You must use pseudocode or program code and add comments to explain how your code works. ‘You do not need ton the data inthe aay 8 we-imensional (1D) aray Patent) of type sting \Write procedure, using pseudocode or program code, that meets the folowing requirements: parameter ‘xs the procedure ifthe numbers not valid Somos Unay Pass AAsmamenaias oasis Tum over iablos have aready boon set up ane the data stored. ich can be played at home or away. Points are recorded for the match results of each im with the folowing values: 3-away win 2 home win 4 = drawn maten 0 lost match "You must use pseudocode or program code and add comments to expan how your code works. ‘You do not need to declare any arrays, variables or constants; you may assume th already been done tis has ‘Allinpats and outputs must contain suitable messages. ‘You do not need to in Variables Leaguesize an the data inthe arrays ‘Toantiane[) and TearPoints |) oF the tna 9023 nae 223

You might also like