Advertisement
andrefecto

least score

Dec 7th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. void least(double& leastScore, double score[], int& arrayPlace2, double& highScore)
  2. {
  3.     leastScore = highScore;
  4.     for(int i = 0; i < 47; i++)
  5.     {
  6.         if(score[i] < leastScore)
  7.         {
  8.             leastScore = score[i];
  9.             arrayPlace2 = i;
  10.         }
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement