🔒 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
  • 638
    Views
  • 2
    Participants
Last reply from:
4021989 others like this

Trending Topics

Online now

Members online
1,004
Guests online
1,236
Total visitors
2,240

Forum statistics

Threads
2,273,520
Posts
28,950,121
Members
1,235,795
Latest member
cardodalisay0702
Back
Top