🔒 Closed Challenge yourself with this

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
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 660
    Views
  • 2
    Participants
Last reply from:
4021989 others like this

Trending Topics

Online now

Members online
1,091
Guests online
5,102
Total visitors
6,193

Forum statistics

Threads
2,348,776
Posts
29,358,817
Members
1,092,708
Latest member
light system
Back
Top