What's new
Status
Not open for further replies.
Good day ka PHC... Sana po may makatulong po sa problema ko.. hanggang bukas nalng po ito ma susubmit ;(

Write a program that displays random ID numbers and 5 random scores 1 - 20 for each randomly generated ID numbers and sums up the score of every ID numbers. Print the ID number of the highest scorer and the lowest scorer..

Example:

ID NUMBER....Score1...Score2..Score3..Score4...Score5....Total
1111111...............20..........20..........20...........20.........20.........100
1111110..............20..........20...........20..........20..........20.........100
222222................1............1..............1...........1...........1.............5


Highest scorer................Score
1111111...........................100
1111110...........................100
Lowest scorer................Score
222222..............................5
 
Kuya.. magagawa ko ito but ill be using two dimensional arrays... since the program requires you to look for the ID number/s of the highest and lowest scorer.. may nagawa ka na bang code diyan? baka makatulong ako sa tamang timpla ng code mo ;)
 
Kuya.. magagawa ko ito but ill be using two dimensional arrays... since the program requires you to look for the ID number/s of the highest and lowest scorer.. may nagawa ka na bang code diyan? baka makatulong ako sa tamang timpla ng code mo ;)

Wala pa po ate e hndi arrays na po kami pwede kahit ano gamitin mo po ate.. i wil wait for it ate para ma testing ko .. Salamat po marami
 
Status
Not open for further replies.

Similar threads

Back
Top